Commit Graph

1242 Commits

Author SHA1 Message Date
Filip Krawczyk cda72a1174 CR Small Changes
* regex fix http?s -> https?
* file rename: formatter.dart -> markdown_formatter.dart to match the class name inside
* add + as continuoable list
* rename: listContinuation          -> unorderedListContinuation
           numberedListContinuation -> orderedListContinuation
* fix typo: convenience
* fix: doc instead of comment
* rename for readability: startingIndex -> from
* function & arg rename: lineBefore(int endingIndex) -> lineUpTo(int characterIndex)
* parse -> tryParse
* localize user picker & commmunity picker
* HookWidget -> StatelessWidget where needed
* Toolbar -> EditorToolbar for less ambiguity
* fix typo: surroungs -> surrounds
* remove debug logA
* more localization stuff
* title -> label on add link dialog
* Reformat -> _Reformat
* use store when in scope instead of context.read
* remove useless Stack (oops)
2022-08-23 00:34:10 +02:00
Filip Krawczyk 821558314e
Update lib/widgets/editor/editor_toolbar.dart
Co-authored-by: Marcin Wojnarowski <xmarcinmarcin@gmail.com>
2022-08-22 23:59:56 +02:00
Filip Krawczyk ecb95d3bdb
Update lib/util/text_lines_iterator.dart
Co-authored-by: Marcin Wojnarowski <xmarcinmarcin@gmail.com>
2022-08-22 23:04:05 +02:00
Filip Krawczyk 43fb2a8ceb add placeholder text to l10n 2022-08-21 23:49:03 +02:00
Filip Krawczyk 4cd8b9855c add toolbar to comments 2022-08-21 23:09:25 +02:00
Filip Krawczyk 1fcc95d6b9 make sure link is a link 2022-08-21 23:08:00 +02:00
Filip Krawczyk cd1f7a3be3 add tooltips 2022-08-21 22:57:56 +02:00
Filip Krawczyk 579b4e1d5d cleanup 2022-08-21 22:23:25 +02:00
Filip Krawczyk 09f1f54c05 implement more buttons
* header
* quote
2022-08-21 21:52:31 +02:00
Filip Krawczyk 462ce5df76 added functionality to:
* info button
* spoiler button
2022-08-21 20:47:30 +02:00
Filip Krawczyk 63032ebae1 add selecting of users and communities
also made simplified version of reformat
2022-08-21 19:03:22 +02:00
Filip Krawczyk 116b0d7961 add store with purpose of uploading images 2022-08-21 16:00:54 +02:00
Filip Krawczyk 663b45bc21 oops 😅 2022-08-09 00:06:14 +02:00
Filip Krawczyk 79f68ee732 rename file to conform to convention 2022-08-09 00:05:55 +02:00
Filip Krawczyk 34be4c13a1 Merge branch 'feature/markdown-editor' of https://github.com/krawieck/lemmur into feature/markdown-editor 2022-08-05 11:09:57 +02:00
Filip Krawczyk 52498a6be3 minor string tweaks 2022-08-05 11:01:52 +02:00
Filip Krawczyk 3c295552df list button implementation 2022-08-05 11:01:52 +02:00
Filip Krawczyk 062a53fdd9 add safearea for toolbar 2022-08-05 11:01:52 +02:00
Filip Krawczyk 33ff99510f put regex to private variable 2022-08-05 11:01:52 +02:00
Filip Krawczyk e91e5789ee improve list continuation, add support for numbered list
* make list continuation more universal
* add support for indentation
* add support for numbered list continuation
2022-08-05 11:01:52 +02:00
Filip Krawczyk 81fadffa14 regex typo fix 2022-08-05 11:01:52 +02:00
Filip Krawczyk 6f271ffc91 remove focus node that is not needed thanks to flutter being smart 2022-08-05 11:01:52 +02:00
Filip Krawczyk 14b7813243 add functionality to more buttons
* add several extensions on TextEditingController for convinience
* add "add link" dialog + functionality
* add functionality to surround buttons:
  * italics,
  * stikethough,
  * superscript,
  * subscript,
  * code
2022-08-05 11:01:52 +02:00
Filip Krawczyk ce41b7e18c editor reorganization + first changes
* added toolbar with buttons
* bold button works
* added input formatter for user convieniance
2022-08-05 11:01:52 +02:00
Filip Krawczyk 85108d8965 maintenance/autogenerated files 2022-08-05 11:01:52 +02:00
Filip Krawczyk 08831afbcf minor string tweaks 2022-08-05 10:17:21 +02:00
Marcin Wojnarowski 44cd556fef
Merge pull request #336 from LemmurOrg/feat/flutter-3 2022-07-21 11:22:44 +02:00
shilangyu 22030d6291 Fix ios build 2022-07-15 21:32:51 +02:00
shilangyu 9ed7b89d68 Regenerate files 2022-07-15 21:21:02 +02:00
shilangyu 75622a735b Bump deps 2022-07-15 21:07:10 +02:00
shilangyu d113e01eeb Bump native versions 2022-07-15 21:02:42 +02:00
Filip Krawczyk 3c274adee7 list button implementation 2022-07-06 11:28:06 +02:00
Filip Krawczyk 8c0c478847 add safearea for toolbar 2022-07-04 17:20:41 +02:00
Filip Krawczyk cab4aeebb7 put regex to private variable 2022-07-04 17:18:38 +02:00
Filip Krawczyk 7db538084a improve list continuation, add support for numbered list
* make list continuation more universal
* add support for indentation
* add support for numbered list continuation
2022-07-04 17:17:35 +02:00
Filip Krawczyk b5bb5dc1ff regex typo fix 2022-06-28 01:18:45 +02:00
Filip Krawczyk f21c6b7c8c remove focus node that is not needed thanks to flutter being smart 2022-06-28 00:41:00 +02:00
Filip Krawczyk b972e4485a add functionality to more buttons
* add several extensions on TextEditingController for convinience
* add "add link" dialog + functionality
* add functionality to surround buttons:
  * italics,
  * stikethough,
  * superscript,
  * subscript,
  * code
2022-06-28 00:40:37 +02:00
Filip Krawczyk 6f8fed149c editor reorganization + first changes
* added toolbar with buttons
* bold button works
* added input formatter for user convieniance
2022-06-26 23:43:36 +02:00
Filip Krawczyk fa2a3be6b5 maintenance/autogenerated files 2022-06-26 23:41:53 +02:00
shilangyu 6136e4a408 Bump mobx 2022-05-13 15:58:01 +02:00
shilangyu 9f588a5ea8 Upgrade deps 2022-05-11 22:31:07 +02:00
shilangyu 4533be634e Enable new lints 2022-05-11 22:23:18 +02:00
shilangyu 3f33cac3ed Upgrade to flutter 3 2022-05-11 22:11:07 +02:00
Marcin Wojnarowski 28be50a89e
Merge pull request #320 from LemmurOrg/feature/create-post-redesign 2022-05-09 08:31:04 +02:00
shilangyu 926c0afe0a Add extra controller condition 2022-05-08 10:43:12 +02:00
shilangyu df85b6271e Merge branch 'master' into feature/create-post-redesign 2022-05-03 18:09:33 +02:00
Marcin Wojnarowski 476ad85a38
Merge pull request #333 from LemmurOrg/chore/bump-deps
Bump deps and LAC
2022-05-03 17:18:17 +02:00
shilangyu ab1873a19f Fix immutability 2022-05-03 09:48:04 +02:00
shilangyu 7bb8d2b33f Fix code review comments 2022-05-03 09:44:07 +02:00