1
0
Fork 0
mirror of https://github.com/anyproto/anytype-kotlin.git synced 2025-06-08 13:57:10 +09:00
Commit graph

444 commits

Author SHA1 Message Date
Konstantin Ivanov
4534f09a2d
(ISSUE-97) Modal navigation (#105)
* ISS-97 add modal navigation container fragment
* ISS-97 customize and switch modals, update navigation
* ISS-97 turn off old navigation
* ISS-97 add modal nav graph
* ISSUE-97 remove legacy
* ISSUE-97 add modals parent fragment
* ISSUE-97 update customize navigation
* ISSUE-97 update details navigation
* ISSUE-97 update detail edit navigation
* ISSUE-97 update reorder, switch navigation
* ISSUE-97 list board, remove old navigation
* ISSUE-97_remove_param
* ISSUE-97 get db id by func
2020-01-14 19:13:26 +03:00
ubu
11f13623de Release commit: 0.0.14 2019-12-30 20:34:51 +02:00
ubu
936ba008bd
Wire add-block panel with middleware (#101)
* Created prototype model
* Refactored command for block creation
* Added hints for text input widgets
2019-12-30 17:58:29 +03:00
ubu
335be21fdd
Enable text color markup (#93)
* Added textColor markup
* Added ControlPanelInteractor
* Added tests and documentation
2019-12-26 19:45:36 +03:00
Konstantin Ivanov
7b80249d21 fix test packages (#99) 2019-12-26 18:39:50 +03:00
Konstantin Ivanov
e7111d6df0
Databaseview modal screens (#55)
* contacts view, main classes
* add contacts navigation
* contacts ui + presentation
* contacts domain + di
* contact tags, adapter + view
* add item decorator, drawable + ext func to core-ui
* contacts, update ui + mappers
* contacts. update domain + add extension date func
* contacts, presentation + domain
* contacts ui
* update gradle settings
* add filters logic
* contacts, ui + presentation

* filters deign

* contacts di + ext

* before pr fixes

* show contacts on desktop screen

* add gitignore

* filter logic, presentation

* filter logic, domain

* filter logic, ui

* filters refactoring

* after develop merge fixes

* modals add view, design + ui

* modal screens, add view + edit view

* modal screens, switch view + customize

* modal screen, properties

* modals, properties

* modal screens, properties reorder design

* modal screens, properties edit

* modal add view, navigation

* move dimens and strings to core-ui

* modal add view, design + ui + presentation

* modal add view, separate views

* add display view, presentation, use case + di

* databaseView, add default config

* add view display, hide icon

* add base bottom sheet fragment

* add android extension functions

* add todo to widget

* add display view, ui

* add display view, add navigation

* add display view, show result

* edit database, domain

* edit database, presentation

* edit database, ui + di

* edit database, navigation

* switch view, presentation + domain

* switch view, ui + di

* switch view, navigation

* customize view, presentation

* customize view, ui + di

* customize view, navigation

* domain, add groups

* custom view, design fix

* fix modal navigation + add safe args

* database view, add repo + update use cases

* database view, update di

* database mock repo update

* database domain, change view type, update mocks and models

* database presentation, fix switch and customize navigation

* database ui, contact fragment as parent for switch and customize scxreens

* switch and customize, update di

* add library-kanban-widget

* add kanban ui

* add kanban design

* add kanban domain logic

* add kanban presentation logic

* kanban, unit tests

* kanban, dimens + android util class

* gradle, add kanban

* set back states for dragItemAdapter

* fix navigation for demo

* demo, update kanban, contact mocks and models

* fix packages

* add graphik font

* demo, add test icon

* remove legacy help class, add android ext

* demo, fix design

* demo, update kanban and contacts ui

* Added goals fragment

* Added goals screen

* Enabled checkbox

* fix fab black tint

* add background color for tag

* add emoji for dashboard view

* some demo design fixes

* add demo docs

* add properties fragment + viewmodel

* some fixes

* modal properties, design

* modal properties, di

* rename model Account -> Person

* helper class, recycler item click

* properties, update di

* properties, add view holders

* recycler item click support

* properties, ui + design

* properties, navigate from customize screen

* properties, add view holders

* properties, number

* properties, date

* properties, icons + strings

* properties, multiple

* <?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    xmlns:app="http://schemas.android.com/apk/res-auto">

    <ImageView
        android:id="@+id/iconFile"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginStart="@dimen/modal_property_margin_start"
        android:layout_marginTop="@dimen/modal_property_margin_top"
        android:layout_marginBottom="@dimen/modal_property_margin_bottom"
        android:contentDescription="@string/content_description_modal_icon"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:srcCompat="@drawable/ic_multiselect" />

    <TextView
        android:id="@+id/textFile"
        style="@style/ModalRowTestStyle"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginStart="@dimen/modal_property_text_from_icon_margin"
        android:text="@string/prop_multiple"
        app:layout_constraintBottom_toBottomOf="@+id/iconFile"
        app:layout_constraintStart_toEndOf="@+id/iconFile"
        app:layout_constraintTop_toTopOf="@+id/iconFile" />

    <ImageView
        android:id="@+id/iconForward"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginEnd="@dimen/modal_property_margin_end"
        android:contentDescription="@string/content_description_modal_icon"
        app:layout_constraintBottom_toBottomOf="@+id/textFile"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintTop_toTopOf="@+id/textFile"
        app:srcCompat="@drawable/ic_arrow_forward" />

    <ImageView
        android:id="@+id/hideFile"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginEnd="@dimen/modal_property_hide_forward_margin"
        android:contentDescription="@string/content_description_modal_icon"
        app:layout_constraintBottom_toBottomOf="@+id/iconForward"
        app:layout_constraintEnd_toStartOf="@+id/iconForward"
        app:layout_constraintTop_toTopOf="@+id/iconForward"
        app:srcCompat="@drawable/ic_hide" />

property, file

* property, checkbox

* property, url

* property, phone

* property, update adapter

* property, rename models

* property, add new

* properties, design fix

* properties, add navigation, back, update disign

* property edit, view model

* property edit, di

* property edit, ui

* property, view model

* update database mock + add view extension

* details view, update view holders

* rename Properties -> Details + lot of fixes

* details, update xmls

* add show param to Properties

* update main component

* add view extension func

* details, update add new view holder

* detail edit, di + presentation + ui

* details, fix module name

* contacts, add detail edit navigation

* detail edit, fix ui

* detail edit, add navigation + show/hide

* detail edit, ui refactoring

* detail edit, add clicks

* detail edit, add delete detail

* detail edit, add hide detail

* detail edit, add duplicate

* hide detail test

* detail items, add drag'n'drop icon

* detail items, update viewholders

* details reorder, presentation + di

* details reorder, ui

* details reorder, navigation

* details adapter, add drag flag

* details reorder, add drag and drop

* details reorder, add swap logic

* database ui, update package

* database modals ui , update packages

* database table ui, package update

* database kanban ui, package update

* database ui, list board, tags

* database ui, rename view models and layouts

* database presentation, rename classes

* database presentation, move class

* database domain. rename property -> detail

* database ui, rename database view

* database domain, rename displayView -> display

* remove legacy

* rename display view -> display

* rename contact view -> list item

* fixes

* Squashed commit of the following:

commit 23f2ce74cc
Author: ubu <ubuphobos@gmail.com>
Date:   Sat Dec 21 20:24:52 2019 +0300
    Release commit: 0.0.13
commit aceba09990
Author: ubu <ubuphobos@gmail.com>
Date:   Sat Dec 21 17:08:39 2019 +0300

* fix event -> event wrapper

* remove duplicate

* update contacts package

* rename display view

Co-authored-by: ubu <ubuphobos@gmail.com>
2019-12-26 18:12:08 +03:00
ubu
693912fed6
Undo markup actions and handle markup overlapping (#92) 2019-12-25 00:45:01 +03:00
ubu
23f2ce74cc Release commit: 0.0.13 2019-12-21 20:24:52 +03:00
ubu
aceba09990
Script for releases (#91) 2019-12-21 17:08:39 +03:00
ubu
f5ba693608
DND for home dashboard (#87)
* Added ObserveHomeDashboard and GetConfig use-cases, also added tests for HomeDashboardViewModel
* Added tests for ObserveHomeDashboard use-case
* Added default drag-and-drop behaviour implementation
* Handling UpdateStructure command from middleware
* Added documentation
2019-12-20 21:48:47 +03:00
ubu
3a0e62241f
Updated library and protos. (#90) 2019-12-19 13:59:21 +03:00
ubu
58c97727e8
Order pages on home dashboard screen (#86)
* Added ObserveHomeDashboard and GetConfig use-cases
* Added tests for ObserveHomeDashboard use-case
2019-12-18 23:15:42 +03:00
ubu
6a97173c21
Update kotlin & coroutines (#84) 2019-12-17 01:16:52 +03:00
ubu
df08485d7b Fixed app version. 2019-12-17 00:02:40 +03:00
ubu
86366487ba
Wire markup toolbar with middleware (#76)
* Parsing block layout.
* Added functions for converting block structure to a map or one-dimensional array
* Vertical rendering.
* Testing markup changes inside view model
* Added ext. function operator for Flow<T> — throttleFirst()
* Implemented diff util for granular changes.
* Processing and dispatching to the middleware component text changes and markup changes
* Added spannable factory for EditText
* Made IO-thread the default thread for any interaction with the middleware backend.
2019-12-16 21:50:17 +03:00
ubu
342354f2fb
Render horizontal layout vertically (#75)
* Parsing block layout.
* Added functions for converting block structure to a map or one-dimensional array
* Vertical rendering.
2019-12-12 20:52:03 +03:00
ubu
b560a7e827
Enabled diff-util for BlockAdapter (#74) 2019-12-10 23:54:31 +03:00
ubu
421f1b9cb7 Updated patch version. Current version 0.0.11 2019-12-10 00:38:55 +03:00
ubu
f416be2b5e
Write mode for paragraph blocks (#67) 2019-12-10 00:35:12 +03:00
ubu
3ab1a14351
Create a new page on dashboard screen (#64)
* Added use-cases for creating a new page and closing a dashboard.
* Added use-case for getting the config.
* Changed open-dashboard-use-case implementation. Also added tests for this use case.
* Updated proto files
* Enabled collapsing toolbar
2019-12-09 23:36:56 +03:00
ubu
dd4aa82580
Basic markup for text blocks (#60) 2019-12-04 19:48:41 +01:00
ubu
770b341d93
Close page before exiting (#57)
* Added ClosePage use-case.
* Added tests for PageViewModel
* Enabled custom back navigation on the page screen
2019-12-03 01:21:14 +01:00
ubu
20a41eec56
Showing app version (#59) 2019-12-02 16:40:03 +01:00
ubu
142a4c18df
Parsing and mapping marks (not rendered yet) (#58) 2019-12-02 16:31:53 +01:00
ubu
0de35494d3 Updated patch version. Current version 0.0.10 2019-12-02 11:18:39 +01:00
ubu
a2d4d6751e
Hotfixes for 0.10 (#54)
* Fixed failing tests.
2019-11-27 12:29:43 +01:00
ubu
4ec25ef4fe Render the reference document (basic text blocks) (#46)
* Added block's content text models.
* Added DI for page component
* Added Dagger module for Page. Added ObservePage use case and other fixes.
2019-11-27 13:50:53 +03:00
ubu
2c7c41fb63
Added scroll view (#53)
Enable scrolling on the profile screen
2019-11-27 00:11:44 +01:00
ubu
5ac98f2076
Integrate GithubActions CI (#52)
Enabled GithubActions CI for develop branch.
2019-11-26 23:08:06 +01:00
Konstantin Ivanov
77154d91a8 Fixing release build (#51)
* update package for module persistence
* fix package name in manifest
* set min sdk to 21 version
* turn off proguard for release builds
2019-11-26 14:54:16 +01:00
Konstantin Ivanov
f969388996
Feature/list view (#42)
* contacts view, main classes

* add contacts navigation

* contacts ui + presentation

* contacts domain + di

* contact tags, adapter + view

* add item decorator, drawable + ext func to core-ui

* contacts, update ui + mappers

* contacts. update domain + add extension date func

* contacts, presentation + domain

* contacts ui

* update gradle settings

* add filters logic

* contacts, ui + presentation

* filters deign

* contacts di + ext

* before pr fixes

* show contacts on desktop screen

* add gitignore

* move adapters to class members

* rename layout

* pr fixes
2019-11-26 12:16:36 +03:00
ubu
8eef580be8
Feature/build script for middleware library (#45) 2019-11-22 20:48:38 +03:00
ubu
149e55b013
Fix/dashboard screen ui setup (#44)
* Fixed issue with UI incorrectly set on HomeDashboardScreen. Critical fix.
2019-11-22 14:37:48 +03:00
ubu
dd26354c4b
Changed config. (#43)
Removed middleware library file from repository
2019-11-22 14:34:49 +03:00
ubu
47b7c89a37
Fetch dashboard homepage from middleware (#41)
* Added models for blocks for domain and data layers, created new repository, created OpenDashboard use case.
* Showing dashboard blocks from middleware on dashboard screen
* Tests for HomeDashboardViewModel
* Added documentation
2019-11-21 21:34:05 +03:00
Konstantin Ivanov
04e9e86d53
Merge pull request #26 from anytypeio/feature/table_feature
DatabaseView feature edit 1
2019-11-20 17:36:59 +03:00
konstantiniiv
f5c43adc8b create adapter in view 2019-11-20 17:09:28 +03:00
Konstantin Ivanov
1ca390ecd3 PR fixes, update names, add const 2019-11-20 16:04:00 +03:00
ubu
76d8fd58f8
Update protobuf models (#40)
* Updated protobuf models, added color property for account, also fixed issues due to lib update
* Added versioning for protobuf models and middleware library
2019-11-20 15:11:46 +03:00
konstantiniiv
0673984fc5 pr fixes 2019-11-19 21:34:37 +03:00
konstantiniiv
9974002179 Merge branch 'develop' into feature/table_feature 2019-11-19 20:54:35 +03:00
konstantiniiv
c5abd1731f fixes before merge 2019-11-19 20:46:38 +03:00
konstantiniiv
123626887d add cells views + update table adapter 2019-11-19 20:41:38 +03:00
ubu
5c0431d866
Feature/page with basic blocks (#34)
* Created PageFragment.
* Fixed sizes in some block-view layouts.
* Added highlight block + other types
* Put page inside bottom-sheet screen.
2019-11-19 20:15:02 +03:00
konstantiniiv
cea404d9b3 update table adapter + view + di 2019-11-18 21:05:04 +03:00
konstantiniiv
3844ecdea0 update cell view holders 2019-11-18 21:04:31 +03:00
konstantiniiv
e7e24fa553 update column view holders 2019-11-18 20:44:42 +03:00
konstantiniiv
8016f63131 add column view holders 2019-11-18 20:44:02 +03:00
konstantiniiv
698fb7dc3e remove unused 2019-11-18 20:27:20 +03:00
konstantiniiv
a56fbd0191 table columns design 2019-11-18 20:26:39 +03:00