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

Select appearances #142

Merged
merged 6 commits into from
Jul 9, 2024
Merged

Select appearances #142

merged 6 commits into from
Jul 9, 2024

Conversation

sadiqkhoja
Copy link
Contributor

Closes #141 and #86

  • Implemented minimal, autocomplete, no-buttons, likert, list, list-nolabel, label, columns, column-pack, column-n for Select1
  • Implemented minimal, autocomplete, no-buttons, list, list-nolabel, label, columns, column-pack, column-n for SelectN
  • Implementation of map and image-map appearances will be handled separately
  • Dynamic width of select options is achieved using javascript, we need to find a way to do it using css if possible
  • Original SelectControl.vue has been decomposed into Select1Control and SelectNControl.
  • Widgets directory contains low level components, mostly combination of a label and a primevue component
  • Appearance directory contains wrapper components to acheive desire UI layout

Copy link

changeset-bot bot commented Jun 26, 2024

🦋 Changeset detected

Latest commit: 508eab1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@getodk/web-forms Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@sadiqkhoja sadiqkhoja force-pushed the features/select-appearances branch from be1d6b2 to ed8220d Compare June 26, 2024 16:01
* Implemented minimal, autocomplete, no-buttons, likert, list, list-nolabel, label, columns, column-pack, column-n for Select1
* Implemented minimal, autocomplete, no-buttons, list, list-nolabel, label, columns, column-pack, column-n for SelectN
* Implementation of map and image-map appearances will be handled separately
* Dynamic width of select options is achieved using javascript, we need to find a way to do it using css if possible
* Original SelectControl.vue has been decomposed into Select1Control and SelectNControl.
* Widgets directory contains low level components, mostly combination of a label and a primevue component
* Appearance directory contains wrapper components to acheive desire UI layout
@sadiqkhoja sadiqkhoja force-pushed the features/select-appearances branch from ed8220d to 2baf72a Compare June 26, 2024 17:42
@sadiqkhoja sadiqkhoja marked this pull request as ready for review June 26, 2024 18:28
Copy link
Member

@eyelidlessness eyelidlessness left a comment

Choose a reason for hiding this comment

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

Overall looking really great! I'm excited to see the appearances in action, and they generally do what I expect as I interact with them. This really does make the overall product progress feel a lot more tangible!

As mentioned on a call the other day, I'm also thrilled to see some of the component organization coming into focus. I think it might be worth aligning naming/hierarchy/compositional concepts throughout ODK (design, overlap with Collect, docs). That might be a pretty big task, but it's feeling plausible with this progress, and I think it'll be worth it to have that kind of a holistic view.

I have made a few comments inline. Some are just questions. I have some concerns about the FullWidth directive, commented in detail there.

* Hover state for the likert option
* Small gap between the options.

Also added class to span of RadioButton and CheckboxWidget
@sadiqkhoja sadiqkhoja force-pushed the features/select-appearances branch from 3280c5e to af5131c Compare July 4, 2024 20:41
@eyelidlessness eyelidlessness changed the title Features/select appearances Select appearances Jul 9, 2024
@sadiqkhoja sadiqkhoja force-pushed the features/select-appearances branch from 16525f6 to 508eab1 Compare July 9, 2024 20:28
@sadiqkhoja sadiqkhoja merged commit 721506a into main Jul 9, 2024
86 checks passed
@sadiqkhoja sadiqkhoja deleted the features/select-appearances branch September 17, 2024 14:55
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.

Implement Select Appearances
2 participants