-
Notifications
You must be signed in to change notification settings - Fork 58
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
Sync upstream dec 24th #253
Sync upstream dec 24th #253
Conversation
Bumps [nanoid](https://github.com/ai/nanoid) from 3.3.6 to 3.3.8. - [Release notes](https://github.com/ai/nanoid/releases) - [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md) - [Commits](ai/nanoid@3.3.6...3.3.8) --- updated-dependencies: - dependency-name: nanoid dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]>
fixes #1919
Updates the requirements on [django-i18nfield](https://github.com/raphaelm/django-i18nfield) to permit the latest version. - [Commits](raphaelm/django-i18nfield@1.9.0...1.10.2) --- updated-dependencies: - dependency-name: django-i18nfield dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
Reviewer's Guide by SourceryThis pull request introduces configurable header and footer links to the event settings page, updates the schedule export to include these links, and refactors the event settings form to use formsets for managing the links. Sequence diagram for saving event linkssequenceDiagram
actor O as Organizer
participant F as EventSettingsForm
participant H as HeaderLinkFormset
participant Ft as FooterLinkFormset
participant DB as Database
O->>F: Submit form
F->>H: Validate header links
F->>Ft: Validate footer links
alt Validation successful
F->>DB: Save form data
H->>DB: Save header links
Ft->>DB: Save footer links
DB-->>O: Success message
else Validation failed
F-->>O: Error message
end
Class diagram for the new EventExtraLink modelclassDiagram
class EventExtraLink {
+event: ForeignKey
+label: I18nCharField
+url: URLField
+role: CharField
+created: DateTimeField
+updated: DateTimeField
}
class Event {
+extra_links: RelatedManager
}
Event "1" -- "*" EventExtraLink : has
note for EventExtraLink "Represents configurable links
shown in header or footer
role can be 'header' or 'footer'"
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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.
Hey @HungNgien - I've reviewed your changes and they look great!
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Summary by Sourcery
Add header and footer links to event settings.
New Features:
Tests: