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

Include Input for Schedules on Create/Edit and show Input on View #1869

Merged
merged 14 commits into from
Mar 14, 2024

Conversation

Alex-Tideman
Copy link
Contributor

@Alex-Tideman Alex-Tideman commented Feb 14, 2024

Description & motivation 💭

Add ability to include Input payloads to create or edit a schedule and view Input when viewing a Schedule.

Includes refactoring of encoding logic to split it apart from decoding logic so we can throw error before submitting update.

Also includes change of text-subtle for placeholder text.

Screenshots (if applicable) 📸

Screen Shot 2024-03-13 at 1 52 18 PM Screen Shot 2024-03-13 at 4 02 30 PM Screen Shot 2024-03-13 at 4 02 44 PM Screen Shot 2024-03-14 at 9 41 55 AM

Design Considerations 🎨

Testing 🧪

How was this tested 👻

  • Manual testing
  • E2E tests added
  • Unit tests added

Steps for others to test: 🚶🏽‍♂️🚶🏽‍♀️

Checklists

Draft Checklist

  • Need confirmation of expected Payload format when sending to /encode from Docs team

Merge Checklist

  • Properly handle /encode errors and prevent create/edit API request if it errors

Issue(s) closed

Docs

Any docs updates needed?

Copy link

vercel bot commented Feb 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
holocene ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 14, 2024 3:18pm

@@ -101,8 +105,18 @@
}
};

const isValidInput = (value: string) => {
Copy link
Member

Choose a reason for hiding this comment

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

I could be talked into pulling this utility out.

src/lib/components/schedule/schedule-input-payload.svelte Outdated Show resolved Hide resolved
src/lib/components/schedule/schedule-input-payload.svelte Outdated Show resolved Hide resolved
Copy link
Member

@stevekinney stevekinney left a comment

Choose a reason for hiding this comment

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

Some minor nits that can be fast follows (or probably also ignored), but otherwise approved.

@Alex-Tideman Alex-Tideman merged commit 94cd0d4 into main Mar 14, 2024
10 checks passed
@Alex-Tideman Alex-Tideman deleted the schedules-ui-improvements branch March 14, 2024 15:20
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.

2 participants