Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DRAFT] GUI #208

Draft
wants to merge 103 commits into
base: main
Choose a base branch
from
Draft

[DRAFT] GUI #208

wants to merge 103 commits into from

Conversation

fahad19
Copy link
Member

@fahad19 fahad19 commented Nov 11, 2023

This PR will stay open for a while. Created in case others want to contribute as I proceed with development and the tasks become clearer.

What's the goal?

To provide a new $ featurevisor gui command, that spins up a local application in http://localhost:8080, allowing you to update your features and other configuration nicely from an GUI.

The command is:

$ cd my-featurevisor-project
$ featurevisor gui

How to develop locally

Clone the monorepo, and install dependencies:

$ npm ci
$ npm run bootstrap

Run the GUI with mocked data:

$ (cd ./packages/gui && npm run dev)

Run the GUI from an example project (like you would from your own Featurevisor project):

$ (cd ./examples/example-1 && npm run gui)

TODOs

  • Create new gui package for React app, to be used in core (as bundled dist only)
  • Create new $ featurevisor gui command
  • Set up boilerplate for server
  • Create boilerplate for local React application
  • Create local mock API server
  • Move gui package's deps to devDependencies
  • Create local REST API server for GUI client
  • UI
    • Settings page
      • Profile
    • Attributes
      • List
      • View
      • Create
      • Update
      • Usage
      • History
    • Segments
      • List
      • View
      • Create
      • Update
      • Usage
      • History
    • Features
      • List
      • View
      • Create
      • Update
      • Variables
      • Variations
      • Rules
      • Force
      • Required
      • Usage
      • History
    • Groups
      • List
      • View
      • Create
      • Update
      • History
    • History
      • Show full timeline

Later

  • Segments: rich conditions builder UI
  • Features: rich segments/conditions builder UI

@fahad19 fahad19 self-assigned this Nov 11, 2023
* main:
  v1.7.1
  fix(site): properly handle bucketBy.or in feature (#263)
  v1.7.0
  feat: lint by key pattern and entity type (#261)
* main:
  v1.7.2
  fix: linting should pick up non-array matrix values in tests (#265)
* main:
  v1.7.3
  fix: lint entity names (#266)
* main:
  docs: Fastify integration (#270)
  docs: add Roku SDK documentation (#272)
  docs: fix code block
  v1.11.0
  feat: revisioning info moved to its own file (#274)
  v1.10.1
  fix: init command (#277)
  v1.10.0
  feat: allow showing only failed specs in test runner (#276)
  v1.9.0
  feat: allow printing datafile per environment (#275)
  docs: updated next js docs to include app router example (#268)
  v1.8.0
  feat: allow option to test by generating datafiles early (#267)
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.

None yet

1 participant