-
Notifications
You must be signed in to change notification settings - Fork 15
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
NOISSUE - Abstract list data-structure on input form #32
Conversation
for some reason now, I can't delete the tags by clicking on them |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Please rebase. |
Signed-off-by: SammyOina <sammyoina@gmail.com>
…s to a list using the Enter key. Signed-off-by: SammyOina <sammyoina@gmail.com>
The package-lock.json file had an incorrect version of prettier. This commit fixes the version to "^3.1.0" to ensure compatibility with the project dependencies. Signed-off-by: SammyOina <sammyoina@gmail.com>
The commit fixes a styling issue in the listUtils.js file by adding a margin-bottom class to the newly created list item. This ensures proper spacing between list items. In addition, the commit also addresses a styling issue in the domains.html file. The commit modifies the class attribute of a div element to ensure proper alignment within a row. These changes improve the overall visual consistency and user experience. Signed-off-by: SammyOina <sammyoina@gmail.com>
The deleteItem function in listUtils.js was not working properly due to unnecessary code. Removed the unnecessary code and fixed the bug. Also, removed an extra line in bootstraps.html. This commit addresses the above issues. Signed-off-by: SammyOina <sammyoina@gmail.com>
The commit fixes a bug in the listUtils.js file where an empty input value was being added as a list item. The bug is fixed by adding a condition to check if the input value is not empty before creating a new list item. Signed-off-by: SammyOina <sammyoina@gmail.com>
The deleteItem function in listUtils.js was not correctly checking for the class name "highlight-list-item" when deleting an item. This has been fixed by using the classList.contains method instead of comparing the className directly. Signed-off-by: SammyOina <sammyoina@gmail.com>
Co-authored-by: Ian Ngethe Muchiri <100555904+ianmuchyri@users.noreply.github.com>
Co-authored-by: Ian Ngethe Muchiri <100555904+ianmuchyri@users.noreply.github.com>
Signed-off-by: SammyOina <sammyoina@gmail.com>
The button class in listUtils.js was updated to "btn btn-primary" to match the styling of other buttons. In navbar.html, an id attribute was added to the "domain-tags" input element. Signed-off-by: SammyOina <sammyoina@gmail.com>
Signed-off-by: SammyOina <sammyoina@gmail.com>
The commit fixes the class name of the button in listUtils.js. The previous class name "btn-primary" has been changed to "body-button". This ensures consistency with the rest of the codebase and improves readability. Signed-off-by: SammyOina <sammyoina@gmail.com>
Standardize and clarify tag-related variable names in HTML templates for things and users. Renamed 'tags' to 'thingsTags' and 'userTags' to mitigate ambiguity across different features where tag systems are utilized. These changes improve code readability and maintain a consistent naming convention. Signed-off-by: SammyOina <sammyoina@gmail.com>
@dborovcanin I have rebased |
1 similar comment
@dborovcanin I have rebased |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you create an issue for that |
What type of PR is this?
What does this do?
Allows input of list items in a user-friendly way without revealing the underlying datastructure
Which issue(s) does this PR fix/relate to?
None
Have you included tests for your changes?
Did you document any new/modified functionality?
Notes
This could also be used for metadata input