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

Write config UI #909

Merged
merged 4 commits into from
Mar 8, 2024
Merged

Conversation

CannonLock
Copy link
Contributor

@CannonLock CannonLock commented Mar 7, 2024

  • Adds ability to edit the config
  • Type checking where possible

@CannonLock
Copy link
Contributor Author

Closes #753 and #322

Copy link
Contributor

@haoming29 haoming29 left a comment

Choose a reason for hiding this comment

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

Two minor changes requested and are non-blocking so feel free to tackle them or leave them for now but otherwise looks pretty nice to me!

I'm thinking it would be very nice if we could add "Cancel" button next to save, so that users mistakenly changing a value have the chance to ignore the change. Could be just a button to refresh the page if that's easier to implement.

As we talked in person, currently if a user changes a value and re-do the change, frontend will still send that change back to backend, which won't be a big issue now but we can fix them in another PR.

Screenshot 2024-03-07 at 12 56 23 PM

web_ui/frontend/app/config/main.d.ts Outdated Show resolved Hide resolved
docs/parameters.yaml Show resolved Hide resolved
@CannonLock CannonLock merged commit e592662 into PelicanPlatform:main Mar 8, 2024
18 checks passed
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.

Web-based configuration changes Handle the display of complex configuration types
2 participants