-
Notifications
You must be signed in to change notification settings - Fork 479
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
UI – Calendar events modal #17717
Merged
jacobshandling
merged 23 commits into
17230-calendar-feature
from
17445-calendar-events-modal
Mar 20, 2024
Merged
UI – Calendar events modal #17717
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
eab1e03
remove 'automations' column
f4bf951
Create modal; prototype not-configured state;
901fb77
wip - scaffold
3729da9
move custom hook to its own file
c929e44
wip2 - it renders
69a0e0f
wip - update interfaces
4a9950d
wip - building policies dropdown button
a754629
finish styling of policies dropdown
8ad6f9a
wip - render policy checkboxes in modal
9a9f29d
wip - define update function. types need improvement
a489c54
working for demo
fac0f28
reorder import
3c999be
on submit, close and refetch
70134ab
update tooltip position, flash messages
599fe9e
example payload
026ddb5
finalize placeholder, preview, and example
69f8c45
disable form fields when feature disabled; update error handling
e889736
add helptext, disable conditions to dropdown
7403a06
wip - add tooltips, disabled styles to dropdown options
e331a62
Merge branch '17230-calendar-feature' into 17445-calendar-events-modal
3f9faeb
update names to "OtherWorkflowsModal"
75c1758
cleanup
c8781cc
more cleanup
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
finalize placeholder, preview, and example
- Loading branch information
There are no files selected for viewing
1,184 changes: 1,184 additions & 0 deletions
1,184
frontend/components/graphics/CalendarEventPreview.tsx
Large diffs are not rendered by default.
Oops, something went wrong.
529 changes: 0 additions & 529 deletions
529
frontend/components/graphics/CalendarIntegrationNotConfigured.tsx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
frontend/pages/policies/ManagePoliciesPage/components/CalendarEventsModal/_styles.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,22 @@ | ||
.calendar-events-modal { | ||
.placeholder { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 24px; | ||
line-height: 150%; | ||
.modal-cta-wrap { | ||
margin-top: 0; | ||
} | ||
} | ||
|
||
pre { | ||
box-sizing: border-box; | ||
margin: 0; | ||
} | ||
} | ||
|
||
.calendar-event-preview { | ||
p { | ||
margin: 24px 0; | ||
} | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Open in new tab.