Feat/appflowy tauri UI (#1835)
* chore: create folders
* chore: setup taliwindcss (#1742)
* chore: create folders
* chore: setup taliwindcss
---------
Co-authored-by: nathan <nathan@appflowy.io>
Co-authored-by: Nathan.fooo <86001920+appflowy@users.noreply.github.com>
* feat: greater to blockquote
* fix: local variable 'text' isn't used
* feat: #1061 Support markdown to create a blockquote
* fix: #1732 the actions of an image look different than the ones of a code block
* fix: command of double tilde to strikethrough
* feat: callout (#1732)
* feat: add callout plugin
* refactor: add SelectionMenuItem.node factory
makes calloutMenuItem more readable
* feat: add color picker
* feat: add popover to callout
* feat: add emoji to callout
* fix: store tint name
* fix: remove leading underscores
* fix: revert export of editor_entry
* refactor: move color tint names to appflowy_editor
* fix: #1732 only re-insert text node if it's parent is text node too while deleting
* docs: doc comment for SelectionMenuItem.node
* fix: disable callout plugin
should be re-enabled after #1753 is done
* fix: typo
---------
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
* Feat/http server adapt (#1754)
* integrate board plugin into document (#1675)
* fix: cursor doesn't blink when opening selection menu
* feat: add board plugin
* feat: integrate board plugin into document
* feat: add i10n and fix known bugs
* feat: support jump to board page on document
* feat: disable editor scroll only when the board plugin is selected
* chore: dart fix
* chore: remove unused files
* fix: dart lint
* Feat/database view (#1765)
* chore: rename flowy-database to flowy-sqlite
* refactor: rename flowy-grid to flowy-database
* refactor: rename grid to database
* refactor: rename GridEvent to DatabaseEvent
* refactor: rename grid_id to database_id
* refactor: rename dart code
* fix: #1763 [Bug] Mouse unable to click a certain area
* fix: potential async errors (#1772)
* feat: Skeleton task (#1775)
* chore: change tauri dev npm script
* chore: setup prettier
* chore: add protobuf type
* chore: move test calls to separate component
* chore: serve assets from app_flowy folder
* chore: import poppins font
* chore: install eslint, remove errors
* placeholder components
* chore: import colors from UI kit, footer panel
* chore: reorganise components
* chore: redux toolkit, navigation folders and files, navigation hooks
* fix: on add folder others close
* fix: tauri_dev task
* fix: restore grid notification
* chore: navigation items events (#1784)
* chore: change tauri dev npm script
* chore: setup prettier
* chore: add protobuf type
* chore: move test calls to separate component
* chore: serve assets from app_flowy folder
* chore: import poppins font
* chore: install eslint, remove errors
* placeholder components
* chore: import colors from UI kit, footer panel
* chore: reorganise components
* chore: redux toolkit, navigation folders and files, navigation hooks
* fix: on add folder others close
* fix: tauri_dev task
* fix: restore grid notification
* chore: shared button
* chore: folder/file popup, rename/duplicate/delete items
* chore: new page types popup
* fix: navitem pages padding
* fix: page click mishandle
* fix: folder click mishandle
* chore: add other page types
* fix: stop propagating on button click
* fix: one alt
* fix: renaming change bg
* refactor: brake Navigation Panel into smaller components
* chore: header panel folder
* chore: focus and select all on rename popup
* chore: add classname to popup
* chore: navigation panel resize
* Feat/appflowy tauri (#1831)
* feat:grid view structure
* feat:add store and refactor grid page
* chore: import icons, resize grid items, change grid items style, add field type icons, reorganize grid toolbar
* feat: auth screens(login, signup and confirm-account) ui done
* chore: add tailwind class sorter and formatted all files
* chore: group svgs into single folder
* chore: resolve warnings in svg files
* fix: use exported fieldType enum
* fix: resolve FieldType referances
* chore: auth pages fixes, replace links, replace buttons, svg fixes, navigate between pages, navigate to homepage on main button click
---------
Co-authored-by: ascarbek <ascarbek@gmail.com>
* ci: wanrings
---------
Co-authored-by: Mikias Tilahun Abebe <mikiastilahun@gmail.com>
Co-authored-by: Andreas Bichinger <andreas.bichinger@gmail.com>
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
Co-authored-by: Askarbek Zadauly <ascarbek@gmail.com>
2023-02-10 08:26:14 +00:00
|
|
|
import { Routes, Route, BrowserRouter } from 'react-router-dom';
|
2023-01-17 08:27:17 +00:00
|
|
|
|
Feat/appflowy tauri UI (#1835)
* chore: create folders
* chore: setup taliwindcss (#1742)
* chore: create folders
* chore: setup taliwindcss
---------
Co-authored-by: nathan <nathan@appflowy.io>
Co-authored-by: Nathan.fooo <86001920+appflowy@users.noreply.github.com>
* feat: greater to blockquote
* fix: local variable 'text' isn't used
* feat: #1061 Support markdown to create a blockquote
* fix: #1732 the actions of an image look different than the ones of a code block
* fix: command of double tilde to strikethrough
* feat: callout (#1732)
* feat: add callout plugin
* refactor: add SelectionMenuItem.node factory
makes calloutMenuItem more readable
* feat: add color picker
* feat: add popover to callout
* feat: add emoji to callout
* fix: store tint name
* fix: remove leading underscores
* fix: revert export of editor_entry
* refactor: move color tint names to appflowy_editor
* fix: #1732 only re-insert text node if it's parent is text node too while deleting
* docs: doc comment for SelectionMenuItem.node
* fix: disable callout plugin
should be re-enabled after #1753 is done
* fix: typo
---------
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
* Feat/http server adapt (#1754)
* integrate board plugin into document (#1675)
* fix: cursor doesn't blink when opening selection menu
* feat: add board plugin
* feat: integrate board plugin into document
* feat: add i10n and fix known bugs
* feat: support jump to board page on document
* feat: disable editor scroll only when the board plugin is selected
* chore: dart fix
* chore: remove unused files
* fix: dart lint
* Feat/database view (#1765)
* chore: rename flowy-database to flowy-sqlite
* refactor: rename flowy-grid to flowy-database
* refactor: rename grid to database
* refactor: rename GridEvent to DatabaseEvent
* refactor: rename grid_id to database_id
* refactor: rename dart code
* fix: #1763 [Bug] Mouse unable to click a certain area
* fix: potential async errors (#1772)
* feat: Skeleton task (#1775)
* chore: change tauri dev npm script
* chore: setup prettier
* chore: add protobuf type
* chore: move test calls to separate component
* chore: serve assets from app_flowy folder
* chore: import poppins font
* chore: install eslint, remove errors
* placeholder components
* chore: import colors from UI kit, footer panel
* chore: reorganise components
* chore: redux toolkit, navigation folders and files, navigation hooks
* fix: on add folder others close
* fix: tauri_dev task
* fix: restore grid notification
* chore: navigation items events (#1784)
* chore: change tauri dev npm script
* chore: setup prettier
* chore: add protobuf type
* chore: move test calls to separate component
* chore: serve assets from app_flowy folder
* chore: import poppins font
* chore: install eslint, remove errors
* placeholder components
* chore: import colors from UI kit, footer panel
* chore: reorganise components
* chore: redux toolkit, navigation folders and files, navigation hooks
* fix: on add folder others close
* fix: tauri_dev task
* fix: restore grid notification
* chore: shared button
* chore: folder/file popup, rename/duplicate/delete items
* chore: new page types popup
* fix: navitem pages padding
* fix: page click mishandle
* fix: folder click mishandle
* chore: add other page types
* fix: stop propagating on button click
* fix: one alt
* fix: renaming change bg
* refactor: brake Navigation Panel into smaller components
* chore: header panel folder
* chore: focus and select all on rename popup
* chore: add classname to popup
* chore: navigation panel resize
* Feat/appflowy tauri (#1831)
* feat:grid view structure
* feat:add store and refactor grid page
* chore: import icons, resize grid items, change grid items style, add field type icons, reorganize grid toolbar
* feat: auth screens(login, signup and confirm-account) ui done
* chore: add tailwind class sorter and formatted all files
* chore: group svgs into single folder
* chore: resolve warnings in svg files
* fix: use exported fieldType enum
* fix: resolve FieldType referances
* chore: auth pages fixes, replace links, replace buttons, svg fixes, navigate between pages, navigate to homepage on main button click
---------
Co-authored-by: ascarbek <ascarbek@gmail.com>
* ci: wanrings
---------
Co-authored-by: Mikias Tilahun Abebe <mikiastilahun@gmail.com>
Co-authored-by: Andreas Bichinger <andreas.bichinger@gmail.com>
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
Co-authored-by: Askarbek Zadauly <ascarbek@gmail.com>
2023-02-10 08:26:14 +00:00
|
|
|
import { TestColors } from './components/TestColors/TestColors';
|
|
|
|
import TestApiButton from './components/TestApiButton/TestApiButton';
|
2023-02-13 11:24:16 +00:00
|
|
|
import { Welcome } from './views/Welcome';
|
Feat/appflowy tauri UI (#1835)
* chore: create folders
* chore: setup taliwindcss (#1742)
* chore: create folders
* chore: setup taliwindcss
---------
Co-authored-by: nathan <nathan@appflowy.io>
Co-authored-by: Nathan.fooo <86001920+appflowy@users.noreply.github.com>
* feat: greater to blockquote
* fix: local variable 'text' isn't used
* feat: #1061 Support markdown to create a blockquote
* fix: #1732 the actions of an image look different than the ones of a code block
* fix: command of double tilde to strikethrough
* feat: callout (#1732)
* feat: add callout plugin
* refactor: add SelectionMenuItem.node factory
makes calloutMenuItem more readable
* feat: add color picker
* feat: add popover to callout
* feat: add emoji to callout
* fix: store tint name
* fix: remove leading underscores
* fix: revert export of editor_entry
* refactor: move color tint names to appflowy_editor
* fix: #1732 only re-insert text node if it's parent is text node too while deleting
* docs: doc comment for SelectionMenuItem.node
* fix: disable callout plugin
should be re-enabled after #1753 is done
* fix: typo
---------
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
* Feat/http server adapt (#1754)
* integrate board plugin into document (#1675)
* fix: cursor doesn't blink when opening selection menu
* feat: add board plugin
* feat: integrate board plugin into document
* feat: add i10n and fix known bugs
* feat: support jump to board page on document
* feat: disable editor scroll only when the board plugin is selected
* chore: dart fix
* chore: remove unused files
* fix: dart lint
* Feat/database view (#1765)
* chore: rename flowy-database to flowy-sqlite
* refactor: rename flowy-grid to flowy-database
* refactor: rename grid to database
* refactor: rename GridEvent to DatabaseEvent
* refactor: rename grid_id to database_id
* refactor: rename dart code
* fix: #1763 [Bug] Mouse unable to click a certain area
* fix: potential async errors (#1772)
* feat: Skeleton task (#1775)
* chore: change tauri dev npm script
* chore: setup prettier
* chore: add protobuf type
* chore: move test calls to separate component
* chore: serve assets from app_flowy folder
* chore: import poppins font
* chore: install eslint, remove errors
* placeholder components
* chore: import colors from UI kit, footer panel
* chore: reorganise components
* chore: redux toolkit, navigation folders and files, navigation hooks
* fix: on add folder others close
* fix: tauri_dev task
* fix: restore grid notification
* chore: navigation items events (#1784)
* chore: change tauri dev npm script
* chore: setup prettier
* chore: add protobuf type
* chore: move test calls to separate component
* chore: serve assets from app_flowy folder
* chore: import poppins font
* chore: install eslint, remove errors
* placeholder components
* chore: import colors from UI kit, footer panel
* chore: reorganise components
* chore: redux toolkit, navigation folders and files, navigation hooks
* fix: on add folder others close
* fix: tauri_dev task
* fix: restore grid notification
* chore: shared button
* chore: folder/file popup, rename/duplicate/delete items
* chore: new page types popup
* fix: navitem pages padding
* fix: page click mishandle
* fix: folder click mishandle
* chore: add other page types
* fix: stop propagating on button click
* fix: one alt
* fix: renaming change bg
* refactor: brake Navigation Panel into smaller components
* chore: header panel folder
* chore: focus and select all on rename popup
* chore: add classname to popup
* chore: navigation panel resize
* Feat/appflowy tauri (#1831)
* feat:grid view structure
* feat:add store and refactor grid page
* chore: import icons, resize grid items, change grid items style, add field type icons, reorganize grid toolbar
* feat: auth screens(login, signup and confirm-account) ui done
* chore: add tailwind class sorter and formatted all files
* chore: group svgs into single folder
* chore: resolve warnings in svg files
* fix: use exported fieldType enum
* fix: resolve FieldType referances
* chore: auth pages fixes, replace links, replace buttons, svg fixes, navigate between pages, navigate to homepage on main button click
---------
Co-authored-by: ascarbek <ascarbek@gmail.com>
* ci: wanrings
---------
Co-authored-by: Mikias Tilahun Abebe <mikiastilahun@gmail.com>
Co-authored-by: Andreas Bichinger <andreas.bichinger@gmail.com>
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
Co-authored-by: Askarbek Zadauly <ascarbek@gmail.com>
2023-02-10 08:26:14 +00:00
|
|
|
import { Provider } from 'react-redux';
|
2023-02-13 11:24:16 +00:00
|
|
|
import { store } from './stores/store';
|
|
|
|
import { DocumentPage } from './views/DocumentPage';
|
|
|
|
import { BoardPage } from './views/BoardPage';
|
|
|
|
import { GridPage } from './views/GridPage';
|
|
|
|
import { LoginPage } from './views/LoginPage';
|
Feat/appflowy tauri UI (#1835)
* chore: create folders
* chore: setup taliwindcss (#1742)
* chore: create folders
* chore: setup taliwindcss
---------
Co-authored-by: nathan <nathan@appflowy.io>
Co-authored-by: Nathan.fooo <86001920+appflowy@users.noreply.github.com>
* feat: greater to blockquote
* fix: local variable 'text' isn't used
* feat: #1061 Support markdown to create a blockquote
* fix: #1732 the actions of an image look different than the ones of a code block
* fix: command of double tilde to strikethrough
* feat: callout (#1732)
* feat: add callout plugin
* refactor: add SelectionMenuItem.node factory
makes calloutMenuItem more readable
* feat: add color picker
* feat: add popover to callout
* feat: add emoji to callout
* fix: store tint name
* fix: remove leading underscores
* fix: revert export of editor_entry
* refactor: move color tint names to appflowy_editor
* fix: #1732 only re-insert text node if it's parent is text node too while deleting
* docs: doc comment for SelectionMenuItem.node
* fix: disable callout plugin
should be re-enabled after #1753 is done
* fix: typo
---------
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
* Feat/http server adapt (#1754)
* integrate board plugin into document (#1675)
* fix: cursor doesn't blink when opening selection menu
* feat: add board plugin
* feat: integrate board plugin into document
* feat: add i10n and fix known bugs
* feat: support jump to board page on document
* feat: disable editor scroll only when the board plugin is selected
* chore: dart fix
* chore: remove unused files
* fix: dart lint
* Feat/database view (#1765)
* chore: rename flowy-database to flowy-sqlite
* refactor: rename flowy-grid to flowy-database
* refactor: rename grid to database
* refactor: rename GridEvent to DatabaseEvent
* refactor: rename grid_id to database_id
* refactor: rename dart code
* fix: #1763 [Bug] Mouse unable to click a certain area
* fix: potential async errors (#1772)
* feat: Skeleton task (#1775)
* chore: change tauri dev npm script
* chore: setup prettier
* chore: add protobuf type
* chore: move test calls to separate component
* chore: serve assets from app_flowy folder
* chore: import poppins font
* chore: install eslint, remove errors
* placeholder components
* chore: import colors from UI kit, footer panel
* chore: reorganise components
* chore: redux toolkit, navigation folders and files, navigation hooks
* fix: on add folder others close
* fix: tauri_dev task
* fix: restore grid notification
* chore: navigation items events (#1784)
* chore: change tauri dev npm script
* chore: setup prettier
* chore: add protobuf type
* chore: move test calls to separate component
* chore: serve assets from app_flowy folder
* chore: import poppins font
* chore: install eslint, remove errors
* placeholder components
* chore: import colors from UI kit, footer panel
* chore: reorganise components
* chore: redux toolkit, navigation folders and files, navigation hooks
* fix: on add folder others close
* fix: tauri_dev task
* fix: restore grid notification
* chore: shared button
* chore: folder/file popup, rename/duplicate/delete items
* chore: new page types popup
* fix: navitem pages padding
* fix: page click mishandle
* fix: folder click mishandle
* chore: add other page types
* fix: stop propagating on button click
* fix: one alt
* fix: renaming change bg
* refactor: brake Navigation Panel into smaller components
* chore: header panel folder
* chore: focus and select all on rename popup
* chore: add classname to popup
* chore: navigation panel resize
* Feat/appflowy tauri (#1831)
* feat:grid view structure
* feat:add store and refactor grid page
* chore: import icons, resize grid items, change grid items style, add field type icons, reorganize grid toolbar
* feat: auth screens(login, signup and confirm-account) ui done
* chore: add tailwind class sorter and formatted all files
* chore: group svgs into single folder
* chore: resolve warnings in svg files
* fix: use exported fieldType enum
* fix: resolve FieldType referances
* chore: auth pages fixes, replace links, replace buttons, svg fixes, navigate between pages, navigate to homepage on main button click
---------
Co-authored-by: ascarbek <ascarbek@gmail.com>
* ci: wanrings
---------
Co-authored-by: Mikias Tilahun Abebe <mikiastilahun@gmail.com>
Co-authored-by: Andreas Bichinger <andreas.bichinger@gmail.com>
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
Co-authored-by: Askarbek Zadauly <ascarbek@gmail.com>
2023-02-10 08:26:14 +00:00
|
|
|
import { ProtectedRoutes } from './components/auth/ProtectedRoutes';
|
2023-02-13 11:24:16 +00:00
|
|
|
import { SignUpPage } from './views/SignUpPage';
|
|
|
|
import { ConfirmAccountPage } from './views/ConfirmAccountPage';
|
2023-01-17 08:27:17 +00:00
|
|
|
|
Feat/appflowy tauri UI (#1835)
* chore: create folders
* chore: setup taliwindcss (#1742)
* chore: create folders
* chore: setup taliwindcss
---------
Co-authored-by: nathan <nathan@appflowy.io>
Co-authored-by: Nathan.fooo <86001920+appflowy@users.noreply.github.com>
* feat: greater to blockquote
* fix: local variable 'text' isn't used
* feat: #1061 Support markdown to create a blockquote
* fix: #1732 the actions of an image look different than the ones of a code block
* fix: command of double tilde to strikethrough
* feat: callout (#1732)
* feat: add callout plugin
* refactor: add SelectionMenuItem.node factory
makes calloutMenuItem more readable
* feat: add color picker
* feat: add popover to callout
* feat: add emoji to callout
* fix: store tint name
* fix: remove leading underscores
* fix: revert export of editor_entry
* refactor: move color tint names to appflowy_editor
* fix: #1732 only re-insert text node if it's parent is text node too while deleting
* docs: doc comment for SelectionMenuItem.node
* fix: disable callout plugin
should be re-enabled after #1753 is done
* fix: typo
---------
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
* Feat/http server adapt (#1754)
* integrate board plugin into document (#1675)
* fix: cursor doesn't blink when opening selection menu
* feat: add board plugin
* feat: integrate board plugin into document
* feat: add i10n and fix known bugs
* feat: support jump to board page on document
* feat: disable editor scroll only when the board plugin is selected
* chore: dart fix
* chore: remove unused files
* fix: dart lint
* Feat/database view (#1765)
* chore: rename flowy-database to flowy-sqlite
* refactor: rename flowy-grid to flowy-database
* refactor: rename grid to database
* refactor: rename GridEvent to DatabaseEvent
* refactor: rename grid_id to database_id
* refactor: rename dart code
* fix: #1763 [Bug] Mouse unable to click a certain area
* fix: potential async errors (#1772)
* feat: Skeleton task (#1775)
* chore: change tauri dev npm script
* chore: setup prettier
* chore: add protobuf type
* chore: move test calls to separate component
* chore: serve assets from app_flowy folder
* chore: import poppins font
* chore: install eslint, remove errors
* placeholder components
* chore: import colors from UI kit, footer panel
* chore: reorganise components
* chore: redux toolkit, navigation folders and files, navigation hooks
* fix: on add folder others close
* fix: tauri_dev task
* fix: restore grid notification
* chore: navigation items events (#1784)
* chore: change tauri dev npm script
* chore: setup prettier
* chore: add protobuf type
* chore: move test calls to separate component
* chore: serve assets from app_flowy folder
* chore: import poppins font
* chore: install eslint, remove errors
* placeholder components
* chore: import colors from UI kit, footer panel
* chore: reorganise components
* chore: redux toolkit, navigation folders and files, navigation hooks
* fix: on add folder others close
* fix: tauri_dev task
* fix: restore grid notification
* chore: shared button
* chore: folder/file popup, rename/duplicate/delete items
* chore: new page types popup
* fix: navitem pages padding
* fix: page click mishandle
* fix: folder click mishandle
* chore: add other page types
* fix: stop propagating on button click
* fix: one alt
* fix: renaming change bg
* refactor: brake Navigation Panel into smaller components
* chore: header panel folder
* chore: focus and select all on rename popup
* chore: add classname to popup
* chore: navigation panel resize
* Feat/appflowy tauri (#1831)
* feat:grid view structure
* feat:add store and refactor grid page
* chore: import icons, resize grid items, change grid items style, add field type icons, reorganize grid toolbar
* feat: auth screens(login, signup and confirm-account) ui done
* chore: add tailwind class sorter and formatted all files
* chore: group svgs into single folder
* chore: resolve warnings in svg files
* fix: use exported fieldType enum
* fix: resolve FieldType referances
* chore: auth pages fixes, replace links, replace buttons, svg fixes, navigate between pages, navigate to homepage on main button click
---------
Co-authored-by: ascarbek <ascarbek@gmail.com>
* ci: wanrings
---------
Co-authored-by: Mikias Tilahun Abebe <mikiastilahun@gmail.com>
Co-authored-by: Andreas Bichinger <andreas.bichinger@gmail.com>
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
Co-authored-by: Askarbek Zadauly <ascarbek@gmail.com>
2023-02-10 08:26:14 +00:00
|
|
|
const App = () => {
|
|
|
|
// const location = useLocation();
|
2023-01-27 09:17:51 +00:00
|
|
|
|
Feat/appflowy tauri UI (#1835)
* chore: create folders
* chore: setup taliwindcss (#1742)
* chore: create folders
* chore: setup taliwindcss
---------
Co-authored-by: nathan <nathan@appflowy.io>
Co-authored-by: Nathan.fooo <86001920+appflowy@users.noreply.github.com>
* feat: greater to blockquote
* fix: local variable 'text' isn't used
* feat: #1061 Support markdown to create a blockquote
* fix: #1732 the actions of an image look different than the ones of a code block
* fix: command of double tilde to strikethrough
* feat: callout (#1732)
* feat: add callout plugin
* refactor: add SelectionMenuItem.node factory
makes calloutMenuItem more readable
* feat: add color picker
* feat: add popover to callout
* feat: add emoji to callout
* fix: store tint name
* fix: remove leading underscores
* fix: revert export of editor_entry
* refactor: move color tint names to appflowy_editor
* fix: #1732 only re-insert text node if it's parent is text node too while deleting
* docs: doc comment for SelectionMenuItem.node
* fix: disable callout plugin
should be re-enabled after #1753 is done
* fix: typo
---------
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
* Feat/http server adapt (#1754)
* integrate board plugin into document (#1675)
* fix: cursor doesn't blink when opening selection menu
* feat: add board plugin
* feat: integrate board plugin into document
* feat: add i10n and fix known bugs
* feat: support jump to board page on document
* feat: disable editor scroll only when the board plugin is selected
* chore: dart fix
* chore: remove unused files
* fix: dart lint
* Feat/database view (#1765)
* chore: rename flowy-database to flowy-sqlite
* refactor: rename flowy-grid to flowy-database
* refactor: rename grid to database
* refactor: rename GridEvent to DatabaseEvent
* refactor: rename grid_id to database_id
* refactor: rename dart code
* fix: #1763 [Bug] Mouse unable to click a certain area
* fix: potential async errors (#1772)
* feat: Skeleton task (#1775)
* chore: change tauri dev npm script
* chore: setup prettier
* chore: add protobuf type
* chore: move test calls to separate component
* chore: serve assets from app_flowy folder
* chore: import poppins font
* chore: install eslint, remove errors
* placeholder components
* chore: import colors from UI kit, footer panel
* chore: reorganise components
* chore: redux toolkit, navigation folders and files, navigation hooks
* fix: on add folder others close
* fix: tauri_dev task
* fix: restore grid notification
* chore: navigation items events (#1784)
* chore: change tauri dev npm script
* chore: setup prettier
* chore: add protobuf type
* chore: move test calls to separate component
* chore: serve assets from app_flowy folder
* chore: import poppins font
* chore: install eslint, remove errors
* placeholder components
* chore: import colors from UI kit, footer panel
* chore: reorganise components
* chore: redux toolkit, navigation folders and files, navigation hooks
* fix: on add folder others close
* fix: tauri_dev task
* fix: restore grid notification
* chore: shared button
* chore: folder/file popup, rename/duplicate/delete items
* chore: new page types popup
* fix: navitem pages padding
* fix: page click mishandle
* fix: folder click mishandle
* chore: add other page types
* fix: stop propagating on button click
* fix: one alt
* fix: renaming change bg
* refactor: brake Navigation Panel into smaller components
* chore: header panel folder
* chore: focus and select all on rename popup
* chore: add classname to popup
* chore: navigation panel resize
* Feat/appflowy tauri (#1831)
* feat:grid view structure
* feat:add store and refactor grid page
* chore: import icons, resize grid items, change grid items style, add field type icons, reorganize grid toolbar
* feat: auth screens(login, signup and confirm-account) ui done
* chore: add tailwind class sorter and formatted all files
* chore: group svgs into single folder
* chore: resolve warnings in svg files
* fix: use exported fieldType enum
* fix: resolve FieldType referances
* chore: auth pages fixes, replace links, replace buttons, svg fixes, navigate between pages, navigate to homepage on main button click
---------
Co-authored-by: ascarbek <ascarbek@gmail.com>
* ci: wanrings
---------
Co-authored-by: Mikias Tilahun Abebe <mikiastilahun@gmail.com>
Co-authored-by: Andreas Bichinger <andreas.bichinger@gmail.com>
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
Co-authored-by: Askarbek Zadauly <ascarbek@gmail.com>
2023-02-10 08:26:14 +00:00
|
|
|
// console.log(location);
|
2023-01-17 08:27:17 +00:00
|
|
|
|
|
|
|
return (
|
Feat/appflowy tauri UI (#1835)
* chore: create folders
* chore: setup taliwindcss (#1742)
* chore: create folders
* chore: setup taliwindcss
---------
Co-authored-by: nathan <nathan@appflowy.io>
Co-authored-by: Nathan.fooo <86001920+appflowy@users.noreply.github.com>
* feat: greater to blockquote
* fix: local variable 'text' isn't used
* feat: #1061 Support markdown to create a blockquote
* fix: #1732 the actions of an image look different than the ones of a code block
* fix: command of double tilde to strikethrough
* feat: callout (#1732)
* feat: add callout plugin
* refactor: add SelectionMenuItem.node factory
makes calloutMenuItem more readable
* feat: add color picker
* feat: add popover to callout
* feat: add emoji to callout
* fix: store tint name
* fix: remove leading underscores
* fix: revert export of editor_entry
* refactor: move color tint names to appflowy_editor
* fix: #1732 only re-insert text node if it's parent is text node too while deleting
* docs: doc comment for SelectionMenuItem.node
* fix: disable callout plugin
should be re-enabled after #1753 is done
* fix: typo
---------
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
* Feat/http server adapt (#1754)
* integrate board plugin into document (#1675)
* fix: cursor doesn't blink when opening selection menu
* feat: add board plugin
* feat: integrate board plugin into document
* feat: add i10n and fix known bugs
* feat: support jump to board page on document
* feat: disable editor scroll only when the board plugin is selected
* chore: dart fix
* chore: remove unused files
* fix: dart lint
* Feat/database view (#1765)
* chore: rename flowy-database to flowy-sqlite
* refactor: rename flowy-grid to flowy-database
* refactor: rename grid to database
* refactor: rename GridEvent to DatabaseEvent
* refactor: rename grid_id to database_id
* refactor: rename dart code
* fix: #1763 [Bug] Mouse unable to click a certain area
* fix: potential async errors (#1772)
* feat: Skeleton task (#1775)
* chore: change tauri dev npm script
* chore: setup prettier
* chore: add protobuf type
* chore: move test calls to separate component
* chore: serve assets from app_flowy folder
* chore: import poppins font
* chore: install eslint, remove errors
* placeholder components
* chore: import colors from UI kit, footer panel
* chore: reorganise components
* chore: redux toolkit, navigation folders and files, navigation hooks
* fix: on add folder others close
* fix: tauri_dev task
* fix: restore grid notification
* chore: navigation items events (#1784)
* chore: change tauri dev npm script
* chore: setup prettier
* chore: add protobuf type
* chore: move test calls to separate component
* chore: serve assets from app_flowy folder
* chore: import poppins font
* chore: install eslint, remove errors
* placeholder components
* chore: import colors from UI kit, footer panel
* chore: reorganise components
* chore: redux toolkit, navigation folders and files, navigation hooks
* fix: on add folder others close
* fix: tauri_dev task
* fix: restore grid notification
* chore: shared button
* chore: folder/file popup, rename/duplicate/delete items
* chore: new page types popup
* fix: navitem pages padding
* fix: page click mishandle
* fix: folder click mishandle
* chore: add other page types
* fix: stop propagating on button click
* fix: one alt
* fix: renaming change bg
* refactor: brake Navigation Panel into smaller components
* chore: header panel folder
* chore: focus and select all on rename popup
* chore: add classname to popup
* chore: navigation panel resize
* Feat/appflowy tauri (#1831)
* feat:grid view structure
* feat:add store and refactor grid page
* chore: import icons, resize grid items, change grid items style, add field type icons, reorganize grid toolbar
* feat: auth screens(login, signup and confirm-account) ui done
* chore: add tailwind class sorter and formatted all files
* chore: group svgs into single folder
* chore: resolve warnings in svg files
* fix: use exported fieldType enum
* fix: resolve FieldType referances
* chore: auth pages fixes, replace links, replace buttons, svg fixes, navigate between pages, navigate to homepage on main button click
---------
Co-authored-by: ascarbek <ascarbek@gmail.com>
* ci: wanrings
---------
Co-authored-by: Mikias Tilahun Abebe <mikiastilahun@gmail.com>
Co-authored-by: Andreas Bichinger <andreas.bichinger@gmail.com>
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
Co-authored-by: Askarbek Zadauly <ascarbek@gmail.com>
2023-02-10 08:26:14 +00:00
|
|
|
<BrowserRouter>
|
|
|
|
<Provider store={store}>
|
|
|
|
<Routes>
|
|
|
|
<Route path={'/'} element={<ProtectedRoutes />}>
|
|
|
|
<Route path={'/page/colors'} element={<TestColors />} />
|
|
|
|
<Route path={'/page/api-test'} element={<TestApiButton />} />
|
|
|
|
<Route path={'/page/document/:id'} element={<DocumentPage />} />
|
|
|
|
<Route path={'/page/board/:id'} element={<BoardPage />} />
|
|
|
|
<Route path={'/page/grid/:id'} element={<GridPage />} />
|
|
|
|
<Route path={'/'} element={<Welcome />} />
|
|
|
|
</Route>
|
|
|
|
<Route path={'/auth/login'} element={<LoginPage />}></Route>
|
|
|
|
<Route path={'/auth/signUp'} element={<SignUpPage />}></Route>
|
|
|
|
<Route path={'/auth/confirm-account'} element={<ConfirmAccountPage />}></Route>
|
|
|
|
<Route path={'*'}>Not Found</Route>
|
|
|
|
</Routes>
|
|
|
|
</Provider>
|
|
|
|
</BrowserRouter>
|
2023-01-17 08:27:17 +00:00
|
|
|
);
|
Feat/appflowy tauri UI (#1835)
* chore: create folders
* chore: setup taliwindcss (#1742)
* chore: create folders
* chore: setup taliwindcss
---------
Co-authored-by: nathan <nathan@appflowy.io>
Co-authored-by: Nathan.fooo <86001920+appflowy@users.noreply.github.com>
* feat: greater to blockquote
* fix: local variable 'text' isn't used
* feat: #1061 Support markdown to create a blockquote
* fix: #1732 the actions of an image look different than the ones of a code block
* fix: command of double tilde to strikethrough
* feat: callout (#1732)
* feat: add callout plugin
* refactor: add SelectionMenuItem.node factory
makes calloutMenuItem more readable
* feat: add color picker
* feat: add popover to callout
* feat: add emoji to callout
* fix: store tint name
* fix: remove leading underscores
* fix: revert export of editor_entry
* refactor: move color tint names to appflowy_editor
* fix: #1732 only re-insert text node if it's parent is text node too while deleting
* docs: doc comment for SelectionMenuItem.node
* fix: disable callout plugin
should be re-enabled after #1753 is done
* fix: typo
---------
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
* Feat/http server adapt (#1754)
* integrate board plugin into document (#1675)
* fix: cursor doesn't blink when opening selection menu
* feat: add board plugin
* feat: integrate board plugin into document
* feat: add i10n and fix known bugs
* feat: support jump to board page on document
* feat: disable editor scroll only when the board plugin is selected
* chore: dart fix
* chore: remove unused files
* fix: dart lint
* Feat/database view (#1765)
* chore: rename flowy-database to flowy-sqlite
* refactor: rename flowy-grid to flowy-database
* refactor: rename grid to database
* refactor: rename GridEvent to DatabaseEvent
* refactor: rename grid_id to database_id
* refactor: rename dart code
* fix: #1763 [Bug] Mouse unable to click a certain area
* fix: potential async errors (#1772)
* feat: Skeleton task (#1775)
* chore: change tauri dev npm script
* chore: setup prettier
* chore: add protobuf type
* chore: move test calls to separate component
* chore: serve assets from app_flowy folder
* chore: import poppins font
* chore: install eslint, remove errors
* placeholder components
* chore: import colors from UI kit, footer panel
* chore: reorganise components
* chore: redux toolkit, navigation folders and files, navigation hooks
* fix: on add folder others close
* fix: tauri_dev task
* fix: restore grid notification
* chore: navigation items events (#1784)
* chore: change tauri dev npm script
* chore: setup prettier
* chore: add protobuf type
* chore: move test calls to separate component
* chore: serve assets from app_flowy folder
* chore: import poppins font
* chore: install eslint, remove errors
* placeholder components
* chore: import colors from UI kit, footer panel
* chore: reorganise components
* chore: redux toolkit, navigation folders and files, navigation hooks
* fix: on add folder others close
* fix: tauri_dev task
* fix: restore grid notification
* chore: shared button
* chore: folder/file popup, rename/duplicate/delete items
* chore: new page types popup
* fix: navitem pages padding
* fix: page click mishandle
* fix: folder click mishandle
* chore: add other page types
* fix: stop propagating on button click
* fix: one alt
* fix: renaming change bg
* refactor: brake Navigation Panel into smaller components
* chore: header panel folder
* chore: focus and select all on rename popup
* chore: add classname to popup
* chore: navigation panel resize
* Feat/appflowy tauri (#1831)
* feat:grid view structure
* feat:add store and refactor grid page
* chore: import icons, resize grid items, change grid items style, add field type icons, reorganize grid toolbar
* feat: auth screens(login, signup and confirm-account) ui done
* chore: add tailwind class sorter and formatted all files
* chore: group svgs into single folder
* chore: resolve warnings in svg files
* fix: use exported fieldType enum
* fix: resolve FieldType referances
* chore: auth pages fixes, replace links, replace buttons, svg fixes, navigate between pages, navigate to homepage on main button click
---------
Co-authored-by: ascarbek <ascarbek@gmail.com>
* ci: wanrings
---------
Co-authored-by: Mikias Tilahun Abebe <mikiastilahun@gmail.com>
Co-authored-by: Andreas Bichinger <andreas.bichinger@gmail.com>
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
Co-authored-by: Askarbek Zadauly <ascarbek@gmail.com>
2023-02-10 08:26:14 +00:00
|
|
|
};
|
2023-01-17 08:27:17 +00:00
|
|
|
|
|
|
|
export default App;
|