Commit Graph

93 Commits

Author SHA1 Message Date
Yijing Huang
b451303156
fix: multiple UI issues (#2249)
* fix: put original borderRadius back to FieldCellButton

* chore: remove the border of card when it is in dark mode

* chore: update NavigatorTextFieldDialog style and organize Insets

* chore: delete unnecessary nullable field
2023-04-14 13:21:10 +08:00
GouravShDev
01ced3bdc0
[Fix] delete cover image document update (#2224)
* fix: reset cover on deleting selected cover image

* feat: add alert dialog on delete

* fix: update cover image list when file not found

* fix: missing const in change cover popup

* fix: added dialog string in translation file

* fix: analytical issue in changeCoverPopover

* fix: added trailing commas in change_cover_popover
2023-04-13 20:21:15 +08:00
Nathan.fooo
5d542394d8
fix: can not create a card in the right date. disable utc setting (#2251) 2023-04-12 21:09:50 +08:00
Richard Shiue
2205b12af2
fix: calendar UI fixes (#2060)
* chore: add some comments and improve readability

* chore: add a border to the event cards

* fix: improve scrollbar appearance

* fix: remove unused import

* style: code readability

---------

Co-authored-by: Alex Wallen <wallenstephen@outlook.com>
2023-04-11 14:58:07 -10:00
Lucas.Xu
ce4e4f2276
fix: sometimes build error in macOS x86_64 (#2234) 2023-04-11 21:19:37 +08:00
Yijing Huang
1cbedb3277
feat: Improve dark mode in board page (#2193)
* chore: update board UI in dark mode

1. Update BoardSettingList&BoardToolbar UI
2. Update item detail dailogue UI

* chore: update URL cell UI

* chore: update checkList pop up UI and shadow color

* chore: fix flutter analyze issue

* chore: update URL popup textfield and change new property text

* chore: Update NumberTypeOptionWidget and options title UI

* chore: make color value more readable

* chore: flutter analyze

* chore: update sort button style
2023-04-11 10:18:36 +08:00
Samiksha Garg
28ae193002
feat: added day/month/year format (#2189) 2023-04-10 00:46:07 -10:00
Lucas.Xu
aac5c2a4da
feat: add require_trailing_commas to analysis_options.ymal. (#2227) 2023-04-10 15:10:42 +08:00
Aman Negi
4d56b42b83
fix: Generalized Color Format (#2221) 2023-04-08 21:28:35 -10:00
Lucas.Xu
ad68e61025
feat: #2209 remove the appflowy_editor from AppFlowy repo (#2211) 2023-04-07 10:31:37 +08:00
Alex Wallen
ae2146f427
[feat] add theme for snackbar (#2194)
* feat: add default snackbar theme

* fix: since FlowyText overrides textTheme, supply color to widget
2023-04-06 16:15:02 -10:00
Yijing Huang
72dac29b80
fix: fix nested path (#2204) 2023-04-05 17:39:29 -05:00
Alex Wallen
70d5d8fc45 fix: analyzer warnings 2023-04-05 10:48:07 -10:00
Yijing Huang
994332218e
feat: Improve dark mode in grid page (#2160)
* chore: Update the hover effect in  FieldCellButton and CreateFieldButton

* chore(grid): improve grid page UI

1. Update lightGreyHover in AFThemeExtension
2. Comment out dandelion and lavender temporary
3. Add text color in  AFThemeExtension
4. Update NavigatorAlertDialog title color

* chore: update the background color of auth page

* chore: update UI in Select option cell

* chore: update date cell UI

* chore: update checklist UI

* chore: comment out temporary

* chore: update multi select and URL UI

* chore: update scroll bar color

* chore: update sort and filter UI

* chore: rename default theme and put dandelion&lavender theme back

* chore: update new app svg file
2023-04-04 12:51:26 +08:00
Alex Wallen
e2009c063b
feat: Create a "view" for all database references in a document (#2083)
* feat: add archive for compression

* feat: add service to manage zipped work spaces

* feat: export service in barrel file

* feat: ignore .ephemeral directory

* feat: add first compressed workspace file

* fix: directory path was wrong

* feat: add a somewhat useful test

* fix: move to same file (delete later)

* fix: use script path vs. working directory for CI

* fix: read from asset bundle instead of file system

* fix: workaround to run integration in multiple files on desktop (flutter/flutter#101031

* feat: remove .ephemeral from .gitignore, no longer created

* feat: document test changes

* fix: lucas suggestion

* feat: mark assets as excluded in pubspec.yaml

* feat: add class for build utilities

* feat: add script runner for release builds

* feat: add build script as task in flowy project

* fix: typo in pubspec.yaml

* chore: use constants for exclude tag

* feat: add appversion as argument to build tool

* feat: use dart script in release.yml

* chore: remove task

* fix: careless error

Co-authored-by: Mihir <84044317+squidrye@users.noreply.github.com>

* feat: add translations for view of

* fix: typo in getAllDatabase

* feat: add view of database

* fix: remove unused import

* fix: use effective dart typing

* fix: insertPage marked as async, should return future

* fix: Remove multi-line string

* fix: ref can be null

* fix: unused imports caused analyzer to fail

* feat: also fix. Add empty document as option and change name to _name

* chore: move referenced database tests to empty document test file

* feat: add test utilities

* feat: add new integration test on an empty document

* feat: register test in runner

* fix: missing reference in insert_page_command

* fix: analyzer errors

---------

Co-authored-by: Mihir <84044317+squidrye@users.noreply.github.com>
2023-04-04 12:50:22 +08:00
Yijing Huang
231fd38298
chore: update to Flutter 3.7.5 (#2000)
* chore: upgrade appflowy_editor_plugins and flowy_infra

* feat(appflowy_flutter): upgrade dependence and delete unused import files

* fix(appflowy_flutter): fix SvgPicture upgrade issue

update color to colorFilter: apply mask color when the color is not null

* feat(appflowy_editor): updateflutter_svg version

* chore: flutter analyze

* chore: update to 3.7.5 in github action

* chore: update to 3.7.5 in github action(integration test)

* chore: update appflowy_editor to 0.1.2

* chore: delete appflowy_editor_test.yml under appflowy

* chore: update the flutter version in github action

* docs: update flutter badge image

* chore: update flutter version in scripts

* chore: update appflowy editor to the latest release

* chore: fix flutter analyze

* chore: update integration_test.yml

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
Co-authored-by: Nathan.fooo <86001920+appflowy@users.noreply.github.com>
2023-04-04 12:48:56 +08:00
Samiksha Garg
cf93e92e64
fix: support for arrow key and tab selection in referenced board/grid (#2165)
* fix: added support for navigating reference board/grid menu using keyboard keys

* refactor: made some minor changes according to reviews

* refactor: replaced loading logic with future builder
2023-04-03 19:05:34 +08:00
Peterson Nwoko
ddca659c77
feat: adding number feature to toolbar (#2077) 2023-04-03 13:04:01 +08:00
HY
34799dfdf5
feat: Add more translations in Chinese(Traditional) (#2154) 2023-04-03 12:53:54 +08:00
GouravShDev
5ad00c041f
[feat]: add image delete in document cover (#2111)
* feat: add image delete in document cover

* fix: amend according to review comments

* fix: add initCompleter.future before using prefs

* fix: show delete button on hover in CoverImageGrid

* feat: hover color on clear all and delete button

* Merge branch 'main' into feat/delete-cover-image

* fix: font color in clear all button in changecover

* chore: add Clear All button fill color

---------

Co-authored-by: Yijing Huang <hyj891204@gmail.com>
2023-04-03 11:12:24 +08:00
Mathias Mogensen
e8c6650d55
fix: improve quick start layout (#2136)
* fix: improve quick start layout

Closes: #2105

* fix: amend padding for quick start button
2023-04-03 10:57:59 +08:00
Yijing Huang
9fff00f731
Fix: Null check error in FlowyHoverContainer (#2148)
* fix: fix null check error in FlowyHoverContainer and delete unnecessary widget

* chore: set child to required in FlowyHoverContainer

* chore: delete unused import file
2023-03-31 10:10:10 +08:00
Alex Wallen
fc004c319b
Merge pull request #2133 from gitstart/FLOWY-OSS-5
fix: Replace `Shortcuts` icon in the help menu option to fix misalignment
2023-03-30 09:44:39 -10:00
GitStart
37f9134ee2 fix: Replace Shortcuts icon in the help menu option to fix misalignment 2023-03-30 06:08:11 +00:00
Destiny Saturday
4bea2b4b54
fix: referenced grid keywords (#2139) 2023-03-30 07:02:34 +01:00
Destiny Saturday
55dc3c620f
fix: referenced board keyword (#2139) 2023-03-30 06:49:33 +01:00
Jonathan Rufus Samuel
826a5787d0
fix: Fixed Italics via Single Asterisk (#2115)
* Fixed Italics via Single Asterisk

* Changed shift+asterisk to *

* Mardown Syntax Function vaiable name changes + cleanup

* feat: single asterisk to italic markdown command

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-03-30 11:18:58 +08:00
Lucas.Xu
7f11584b58
chore: sync 0.1.2 (#2135) 2023-03-30 10:09:15 +08:00
Yijing Huang
8541ca8bec
Feat(appflowy_flutter): dark mode improvement for generic area/widgets (#2099)
* chore: update color scheme for dark mode

* chore: update dark color scheme

1. update the background color for side bar, surface and divider in dark mode
2. comment out dandelion and lavender theme temporarily

* chore: update top bar BGcolor and icon color

* chore: update text color

* chore: update share button color on the top bar

* chore: add tooltip theme data in global

* chore: add hint and tertiary color and update font size pop up menu style

* chore: update all the semibold texts color

* chore: update all the hover color

* chore: update setting BG color

* chore: add FlowySvg to get the icon color through current theme

1. Add FlowySvg widget
2. Update all the icons those have hover effect to FlowySvg
3. Recover shader1 for the text color when it is in hovered

* chore: update side bar UI

1. Update AddButton hover style
2. Update MenuAppHeader icon color and its hover style
3. Update NewAppButton(New page) font color
4. Update MenuUser username font color

* chore: update SettingsDialog style in dart mode

    1. Update title and text color
    2. Update the hover color on FlowyTextButton
    3. Update the LanguageSelectorDropdown background color and hover enter color

* chore: update NewAppButton icon in dark mode

* chore: update default icon color

* chore: rename the hover color and update ViewSectionItem hover color from default theme color

* chore: add question bubble background color

* chore: update cover image button color

* chore: remove fixed icon color on _AddCoverButton

* chore: put Dandelion and Lavender color scheme back with basic modification

* fix: delete unused import files and deprecated field

* chore: add comma and put color back

* chore: update AppFlowyPopover background color

* chore: remove the hover color on primary and secondary button

* chore: update shadow color in dark mode

* chore: update SettingsMenuElement hover effect

* chore: update the text color in DropdownMenuItem
2023-03-30 09:44:37 +08:00
Samiksha Garg
bdf7f37dc5
feat: improved tooltip of toolbar items (#2132) 2023-03-29 16:12:01 +08:00
Lucas.Xu
7b61ed228f
fix: bold tests failed (#2122) 2023-03-28 16:30:26 +08:00
Lucas.Xu
6ee54d6194
fix: #2125 _AssertionError !_positions.contains(position): is not true (#2126) 2023-03-28 15:26:35 +08:00
Nathan.fooo
f9ab6da4a3
fix: update calendar selected range (#2123) 2023-03-28 14:27:14 +08:00
Mathias Mogensen
5ef91a8157
fix: settings dialog files path copy snackbar (#2114) 2023-03-28 13:46:49 +08:00
Aman Negi
2a55febe62
fix: Update app version in pubspec.yaml (#2104)
* fix: Update app version in `pubspec.yaml`

* fix: Remove Build Number

- Removed unnecessary build number mentioned in the `pubspec.yaml`
2023-03-27 12:48:26 +08:00
Mathias Mogensen
d62493ce01
fix: dropdown state unchanging after file reset (#2109) 2023-03-27 12:48:07 +08:00
Mathias Mogensen
c73b7d1184
fix: allow # in links when pasting (#2110)
Closes: #1871
2023-03-27 12:47:41 +08:00
Akheel Muhammed
5afdb5de35
Fix: #2028 auto enter edit mode for text field. (#2096)
* chore(): initial commit to make AppFlowy Work

Signed-off-by: not-shoyo <akheelsaajid@gmail.com>

* fix: #2028, fix auto-entering edit mode

Make text field request for focus when popover changes.

Signed-off-by: not-shoyo <akheelsaajid@gmail.com>

* Update section.dart

* Update input_service.dart

* Update input_service.dart

* Update input_service.dart

---------

Signed-off-by: not-shoyo <akheelsaajid@gmail.com>
2023-03-27 12:47:22 +08:00
Om Gujarathi
f40d1a9a96
fix: double asterisk to bold fixes #2080 (#2093)
* fix: double asterisk to bold fixed

* double asterisk to bold fixed
2023-03-27 10:20:21 +08:00
Mihir
f9a1cb2623
fix: open-ai replace does not work in certain use-cases (#2100)
* test: added test to verify correct ordering after replacement of multiline text-nodes

* fix: open-ai replace does not work on certain use-cases

* refactor: using predefined operation insert node to create new nodes.

* Revert "refactor: using predefined operation insert node to create new nodes."

This reverts commit bcc014e84d.

* refactor: using predefined operation insert node to create new nodes.

* fix: open-ai replace does not work in certain use-cases

* fix: fixed logic and tests for replacement of larger textNodes with smaller text.

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-03-27 10:20:01 +08:00
Lucas.Xu
1536cdd15a
feat: trigger shortcut event by character (#2101) 2023-03-24 16:57:35 +08:00
Gunjan Lunkad
3039f0427f
fix : Code block parser implementation (#2046)
* fix: Code block implementation

* fix: Added test to cover CodeBlock

* fix: typos

* fix: Code block implementation

* fix: typos
2023-03-23 16:30:52 +08:00
Lucas.Xu
98f1ac52b4
chore: sync release 0.1.1 (#2075) 2023-03-22 14:49:15 +08:00
Muhammad Rizwan
92878d7e89
Cover plugin widget breakdown 1928 (#2007)
* feat: added emoji and network image support

* fix: code cleanup and improvements

* fix: blank preview on invalid image save

* fix: flutter analyzer warnings

* fix: code refactor and bug fixes

* chore: removed unused imports

* chore: formate code

* chore: widget tree breakdown

* chore: added the deleted code

---------

Co-authored-by: ahmeduzair890 <ahmeduzair12123@gmail.com>
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-03-22 10:46:46 +08:00
Alex Wallen
c6ffc0057c
feat: create a new grid from the document slash menu (#2051)
* feat: new grid from slash menu

* feat: add translation strings

* feat: add integration test

* fix: analyzer errors
2023-03-22 09:55:20 +08:00
squidrye
f49e2571fa test: added tests for key events in selection menu widget 2023-03-21 19:40:53 +05:30
squidrye
10b6b9e5ad refactor: suggested changes 2023-03-21 17:38:22 +05:30
squidrye
5c099297a4 fix: slash menu responds to multiple key events 2023-03-21 16:26:04 +05:30
Alex Wallen
b7867bf177
Create a new board from the slash menu (#2018)
* feat: create a new board.

* feat: switch slash menu keywords

* fix: remove unused imports

* chore: export SelectionMenuItem from appflowy_editor for integration test

* feat: add integration test for slash commands

* fix: test in new file was unable to start

* feat: add translations
2023-03-21 09:29:17 +08:00
Destiny Saturday
5672df3b0e
fix: sort hint text typo (#2044) 2023-03-20 22:01:44 +01:00