Skip to content

Comments

feat: Improve Survey builder and viewer UI/UX#2

Open
antoniocapelo wants to merge 35 commits intoarchetype-labs:mainfrom
antoniocapelo:feat/survey-builder-and-viewer
Open

feat: Improve Survey builder and viewer UI/UX#2
antoniocapelo wants to merge 35 commits intoarchetype-labs:mainfrom
antoniocapelo:feat/survey-builder-and-viewer

Conversation

@antoniocapelo
Copy link

@antoniocapelo antoniocapelo commented Jul 7, 2025

This PR aims to improve the UX and UI of the existing application, as well as to implement some features that were listed in the Readme file.

I also added a notes.md file that acted as my personal todo list and a place to jot down ideas as I went along the exercise.

Key Changes

  • Unified the create and edit survey forms into a single component.
  • Added a new search feature for surveys.
  • Added layout with header and man section.
  • Implemented a table view for the homepage (with persistence).
  • Enhanced survey creation and viewing UX, including a progress bar, loading indicators, and error summary.
  • Added a "preview" mode for surveys.
  • Improved form validation using Zod schemas and created a reusable validation hook.
  • Added "Optional" indicators for form fields and removed asterisks.
  • Various UI tweaks, bug fixes, and code cleanups.

What's not done

A list of things I could work on but decided to not prioritize to keep the exercise duration contained:

  • Consistent app navigation layout (breadcrumbs, back button positioning, etc)
  • Re-think survey creation actions (maybe make the actions "sticky" and not have to scroll down to see them)
  • mouse interactions on table and cards (left click on row/card navigate to survey, right click pops up available actions)

Demo

I've made a Loom demoing the main changes and I'm hosting the app at https://survey-builder.capelo.me/.

imagem

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.

1 participant