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

Feat: Add new observable button in Observables list view #141

Merged
merged 5 commits into from
Jan 25, 2024

Conversation

udgover
Copy link
Collaborator

@udgover udgover commented Jan 22, 2024

This PR adds New Observable button in observable view like it's already implemented under Indicator and Entities views.

When clicking on the button, all observables types list is rendered and when clicking on one observable type it will render a new modal window containing fields to provide. Once saved, user is redirected to the newly created observable.

Screenshot 2024-01-22 at 10 51 07
Screenshot 2024-01-22 at 10 51 18
Screenshot 2024-01-22 at 10 51 57
Screenshot 2024-01-22 at 10 52 50

@udgover udgover requested a review from tomchop January 22, 2024 09:56
src/components/NewObject.vue Outdated Show resolved Hide resolved
@tomchop
Copy link
Contributor

tomchop commented Jan 22, 2024

Also, in the screenshot you shared, some observalbe names seem to be misaligned?

image

Given that we have a long list of observables, would it be better to use a combobox component with suggestions instead of a dropdown?

@udgover
Copy link
Collaborator Author

udgover commented Jan 25, 2024

Also, in the screenshot you shared, some observalbe names seem to be misaligned?

image

Given that we have a long list of observables, would it be better to use a combobox component with suggestions instead of a dropdown?

Fixed in 1010eff

Screenshot 2024-01-25 at 01 08 59

@udgover udgover requested a review from tomchop January 25, 2024 00:09
Copy link
Contributor

@tomchop tomchop left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@tomchop tomchop merged commit 2e1c103 into main Jan 25, 2024
1 check passed
@tomchop tomchop deleted the new_observable branch January 25, 2024 14:18
@tomchop tomchop added the enhancement New feature or request label Jan 25, 2024
@tomchop tomchop changed the title Add new observable button in Observables list view Feat: Add new observable button in Observables list view Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants