Skip to content

Conversation

@wesleyboar
Copy link
Member

@wesleyboar wesleyboar commented Oct 31, 2025

Overview

Add feature flag (e.g. to disabled features or warn about maintenance).

Caution

  • Might be over-engineered.

Related

Changes

  • added .env for flags
  • documented default prefix for env variables
  • added Messages in /apps/tup-ui/src/messages/
  • added AppPageWithMessage

Testing

  1. Open Projects & Allocations.
  2. See error message.
  3. Open another Portal "page".
  4. See no message.

UI

page messages
page.messages.mov

wesleyboar and others added 4 commits October 31, 2025 11:27
* feat: feature-flag–based error message (!)

(!) style and layout incomplete, just testing

* fix: change error message, link to news

* Adds styles and addresses right margin issue

* Linting

---------

Co-authored-by: Sophia Massie-Perez <smassie@smassie-mbp25.local>
@wesleyboar wesleyboar changed the title feat: feature flags feat: feature flags + projects message - in App Oct 31, 2025
@wesleyboar wesleyboar mentioned this pull request Oct 31, 2025
Copy link
Collaborator

@sophia-massie sophia-massie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sophia-massie sophia-massie merged commit ffdc832 into main Oct 31, 2025
1 check passed
@sophia-massie sophia-massie deleted the feat/feature-flags--use-outside-page branch October 31, 2025 20:43
sophia-massie added a commit that referenced this pull request Oct 31, 2025
wesleyboar pushed a commit that referenced this pull request Oct 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants