mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-24 12:56:59 +00:00
[PR #1941] [MERGED] chore: calendar UI improvements #5032
Labels
No labels
2024
2025
2026
acct mgmt
AI
automation
bug
calendar
ci
CJK
cloud
code-block
collaboration
copy-paste
database
data migration
data sync
deploy
desktop
develop
develop
documentation
duplicate
editor
editor-plugin
emoji
export
files
flutter-only
follow-up
formula
good first issue for devs
good first issue for experienced devs
grid
hacktoberfest
HACKTOBERFEST-ACCEPTED
help wanted
i18n
icons
images
importer
improvements
infra
install
integrations
IR
kanban board
login
look and joy
mentorship
mobile
mobile
needs design
new feature
new feature
non-coding
notes
notifications
onboarding
organization
P0+
permission
platform-linux
platform-mac
platform-windows
plugins
program
pull-request
Q1 25
Q1 26
Q2 24
Q2 25
Q3 24
Q3 25
Q4 24
Q4 25
react
regression
rust
rust
Rust-only
Rust-only
Rust-starter
Rust-starter
self-hosted
shortcuts
side panel
slash-menu
sync v2
table
tablet
task
tauri
templates
tests
themes
translation
v0.5.6
v0.5.8
v0.5.9
v0.6.0
v0.6.1
v0.6.4
v0.6.7
v0.6.8
v0.7.1
v0.7.4
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.8.0
v0.8.4
v0.8.5
v0.8.9
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AppFlowy-IO/AppFlowy#5032
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/1941
Author: @richardshiue
Created: 3/8/2023
Status: ✅ Merged
Merged: 3/20/2023
Merged by: @appflowy
Base:
main← Head:feat-calendar-view-4📝 Commits (10+)
c7bedd9chore: enable calendarf6dd9e9chore: Merge branch 'main' into feat-calendar-view-4c192743feat: set font of the day event widget34fb25ffeat: support add/remove event4102b31chore: initial settings popovere018e69chore: calendar bloc can update layout settingsc7c7a01fix: events overflow in day cellfedc0f3feat: calendar layout settings UIf9a483ffeat: layout calendar by another date field381ba1echore: i18n📊 Changes
23 files changed (+1336 additions, -327 deletions)
View changed files
📝
frontend/appflowy_flutter/assets/translations/en.json(+8 -1)📝
frontend/appflowy_flutter/lib/plugins/database_view/application/database_controller.dart(+42 -10)📝
frontend/appflowy_flutter/lib/plugins/database_view/application/defines.dart(+7 -2)➕
frontend/appflowy_flutter/lib/plugins/database_view/application/layout/calendar_setting_listener.dart(+49 -0)📝
frontend/appflowy_flutter/lib/plugins/database_view/application/row/row_cache.dart(+9 -1)📝
frontend/appflowy_flutter/lib/plugins/database_view/application/row/row_list.dart(+11 -11)📝
frontend/appflowy_flutter/lib/plugins/database_view/application/view/view_cache.dart(+62 -17)📝
frontend/appflowy_flutter/lib/plugins/database_view/calendar/application/calendar_bloc.dart(+135 -36)➕
frontend/appflowy_flutter/lib/plugins/database_view/calendar/application/calendar_setting_bloc.dart(+55 -0)📝
frontend/appflowy_flutter/lib/plugins/database_view/calendar/calendar.dart(+1 -1)➕
frontend/appflowy_flutter/lib/plugins/database_view/calendar/presentation/calendar_day.dart(+267 -0)📝
frontend/appflowy_flutter/lib/plugins/database_view/calendar/presentation/calendar_page.dart(+58 -228)➕
frontend/appflowy_flutter/lib/plugins/database_view/calendar/presentation/toolbar/calendar_layout_setting.dart(+410 -0)➕
frontend/appflowy_flutter/lib/plugins/database_view/calendar/presentation/toolbar/calendar_setting.dart(+112 -0)📝
frontend/appflowy_flutter/lib/plugins/database_view/calendar/presentation/toolbar/calendar_toolbar.dart(+67 -7)📝
frontend/appflowy_flutter/lib/plugins/database_view/grid/application/grid_bloc.dart(+1 -1)📝
frontend/appflowy_flutter/lib/plugins/database_view/widgets/card/card_cell_builder.dart(+3 -0)📝
frontend/appflowy_flutter/lib/plugins/database_view/widgets/card/cells/card_cell.dart(+13 -2)📝
frontend/appflowy_flutter/lib/plugins/database_view/widgets/card/cells/select_option_card_cell.dart(+4 -1)📝
frontend/appflowy_flutter/lib/plugins/database_view/widgets/card/cells/text_card_cell.dart(+20 -5)...and 3 more files
📄 Description
This PR adds many of the UI components for the calendar view of the database, including:
(with bugs, see below)(with bugs, see below)Known limitations and bugs:
Popover mutex not implemented, resulting in multiple popovers being instantiated near the setting button(fixed)Changing the calendar layout field does not clear the existing events, but just adds on top of them(fixed)Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.
Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.