Veronica Berglyd Olsen
46bb8e5bcc
Populate the add button menu in the project widget
2022-06-06 22:03:42 +02:00
Veronica Berglyd Olsen
12a7ec7fe3
Allow the project class to create new files
2022-06-06 22:02:44 +02:00
Veronica Berglyd Olsen
d07f5dc520
Wrap project tree in an outer widget with a toolbar
2022-06-06 15:50:46 +02:00
Veronica Berglyd Olsen
b88cdb7677
Make the project tree columns fixed
2022-06-06 14:11:59 +02:00
Veronica Berglyd Olsen
669eabc7e8
Handle actions in the project tree internally in the class
2022-06-06 13:46:54 +02:00
Veronica Berglyd Olsen
3ff5dfce33
Set build language for Open Document files ( #1077 )
2022-06-05 22:47:21 +02:00
Veronica Berglyd Olsen
2f81aef0a3
Set build language for Open Document files
2022-06-05 22:42:25 +02:00
Veronica Berglyd Olsen
29739ab210
Update the Outline View panel ( #1063 )
...
Add a top level widget that contains the entire Outline View.
Move the details panel code to the outline.py file.
Add a toolbar to the top of the Outline view with a dropdown box to select which Novel folder to view.
Add a refresh button to the tool bar.
Move the context menu for changing columns to a menu button on the tool bar.
Remove the Rebuild Outline and Auto-Update Outline options from the main menu.
2022-06-05 22:34:49 +02:00
Veronica Berglyd Olsen
4d9b94cfe6
Improve test coverage of Outline
2022-06-05 22:31:10 +02:00
Veronica Berglyd Olsen
85f63721e0
Allow showing all novel files in Outline
2022-06-05 18:43:09 +02:00
Veronica Berglyd Olsen
92924b3288
Make the new item function better at guessing header level of new files
2022-06-05 17:41:29 +02:00
Veronica Berglyd Olsen
88976d6800
Streamline how project item changes are reported
2022-06-05 17:25:39 +02:00
Veronica Berglyd Olsen
2873336dce
Allow switching between root novel folders
2022-06-05 15:04:04 +02:00
Veronica Berglyd Olsen
de07546e3f
Fix tests
2022-06-05 13:41:22 +02:00
Veronica Berglyd Olsen
ac14888e2a
Merge branch 'main' into outline_view
2022-06-05 13:36:54 +02:00
Veronica Berglyd Olsen
c28ac37df1
Rewrite index class ( #1074 )
...
Rewrites the index class to use objects rather than dictionaries to store indexing information.
Moves the index instance into the main project class instead of the main GUI object.
Makes the project tree and project options classes private to the project class.
2022-06-05 13:21:45 +02:00
Veronica Berglyd Olsen
63068f1018
Add full test coverage of index class
2022-06-05 13:17:24 +02:00
Veronica Berglyd Olsen
22099c1b56
Make some minor improvements to handling of tags and references
2022-06-03 11:07:40 +02:00
Veronica Berglyd Olsen
eed59a96be
Make some fixes to the index class, and improve test coverage
2022-05-30 00:28:43 +02:00
Veronica Berglyd Olsen
865acfd7e9
Clean up imports
2022-05-29 19:40:14 +02:00
Veronica Berglyd Olsen
d1b32f1ba1
Move the tags index into a wrapper class
2022-05-29 19:24:41 +02:00
Veronica Berglyd Olsen
77e50a6cee
Move the item index into a wrapper class and combine the access functions
2022-05-29 18:58:32 +02:00
Veronica Berglyd Olsen
347d34bf83
Clean up the index code a bit and add index validation
2022-05-29 00:18:48 +02:00
Veronica Berglyd Olsen
94ba7a2f94
Use the new index instead of the old
2022-05-28 21:59:52 +02:00
Veronica Berglyd Olsen
01be8be44f
Remove old tagsIndex
2022-05-28 20:16:27 +02:00
Veronica Berglyd Olsen
d584f57a3b
Loading of new index now works
2022-05-28 19:45:33 +02:00
Veronica Berglyd Olsen
b5b0074411
Rewritten index storage using classes instead
2022-05-28 18:48:31 +02:00
Veronica Berglyd Olsen
44926a4e9a
Also make tree and options properties of the project
2022-05-28 14:33:25 +02:00
Veronica Berglyd Olsen
8bdd09400a
Move the project index into the project class
2022-05-28 14:11:58 +02:00
Veronica Berglyd Olsen
8ac30b036a
Change how tag links are followed
2022-05-26 12:11:22 +02:00
Veronica Berglyd Olsen
ecc0585c87
Add a toolbar to the Outline view
2022-05-22 23:03:30 +02:00
Veronica Berglyd Olsen
007f2fbff4
Add a menu icon
2022-05-22 22:46:42 +02:00
Veronica Berglyd Olsen
1f66ed3e3b
Reduce the list of tag classes in outline view when they are not used
2022-05-22 21:00:49 +02:00
Veronica Berglyd Olsen
eb66b2c175
Merge branch 'main' into outline_view
2022-05-22 18:15:36 +02:00
Veronica Berglyd Olsen
5d86cfb092
Improve GUI look and usability ( #1069 )
2022-05-22 18:11:25 +02:00
Veronica Berglyd Olsen
b9fcc43ca6
Move highlighting theme setting back to General tab in Preferences
2022-05-22 17:53:46 +02:00
Veronica Berglyd Olsen
3cfc5d9a1a
Remove borders from all main GUI widgets
2022-05-22 17:45:54 +02:00
Veronica Berglyd Olsen
25427e8521
Add tooltips to views bar
2022-05-22 17:43:38 +02:00
Veronica Berglyd Olsen
2425af4bfe
Add menu to view bar settings, and add build button
2022-05-22 17:00:45 +02:00
Veronica Berglyd Olsen
4a4ed32fe6
Add new view bar icons
2022-05-22 17:00:09 +02:00
Veronica Berglyd Olsen
f7e31bd452
Use "project name" consistently on the GUI
2022-05-22 16:23:49 +02:00
Veronica Berglyd Olsen
adf7357155
Merge branch 'main' into outline_view
2022-05-22 16:19:53 +02:00
Veronica Berglyd Olsen
a541c90690
Add icon name to xdg mime type just in case ( #1068 )
2022-05-22 15:58:09 +02:00
Veronica Berglyd Olsen
217e184153
Update new project creation ( #1067 )
2022-05-21 22:22:07 +02:00
Veronica Berglyd Olsen
e14348a05b
Fix a few text labels on the wizard
2022-05-21 22:18:16 +02:00
Veronica Berglyd Olsen
78b97ce8fb
Remove name as a required parameter for new root folders since no part of the GUI uses it
2022-05-21 22:10:25 +02:00
Veronica Berglyd Olsen
aeaaaaf3af
Update test coverage
2022-05-21 21:55:19 +02:00
Veronica Berglyd Olsen
63a3e56cdb
Fix ignored lines in XML comparison
2022-05-21 18:15:38 +02:00
Veronica Berglyd Olsen
cea22b6147
Clean up new project creation function
2022-05-21 17:58:47 +02:00
Veronica Berglyd Olsen
06d39ea352
Make tests not depend on minimal project settings
2022-05-21 17:33:58 +02:00
Veronica Berglyd Olsen
b4ea5bc8d0
Update minimal project content
2022-05-21 17:33:36 +02:00
Veronica Berglyd Olsen
ad42a71427
Fix tests
2022-05-21 16:57:09 +02:00
Veronica Berglyd Olsen
46dce17dfe
Update new project generation to match wizard
2022-05-21 16:29:41 +02:00
Veronica Berglyd Olsen
7a8c97225b
Add a summary page to the wizard
2022-05-21 15:47:21 +02:00
Veronica Berglyd Olsen
5574d8d6c0
Update and clarify the options on the Wizard
2022-05-21 15:11:33 +02:00
Veronica Berglyd Olsen
a166d9a4dd
Add a Translation Guidelines section in i18n
2022-05-19 20:04:10 +02:00
Veronica Berglyd Olsen
b863077bfe
Make minor changes post 1.7b1 release ( #1065 )
2022-05-17 20:52:50 +02:00
Veronica Berglyd Olsen
ae2b5d4403
Fix typo and set max width on views bar
2022-05-17 20:22:39 +02:00
Veronica Berglyd Olsen
301d81f987
Update various translation files
2022-05-17 20:22:16 +02:00
Veronica Berglyd Olsen
15f59c1a4e
Release 1.7 Beta 1 ( #1064 )
2022-05-17 18:51:01 +02:00
Veronica Berglyd Olsen
9eaf240674
Release 1.7-beta1
2022-05-17 18:41:01 +02:00
Veronica Berglyd Olsen
a71fa02b0c
Sort i18n credits on about and credits doc
2022-05-17 18:40:10 +02:00
Veronica Berglyd Olsen
9add2aaa87
Update the sample project to reflect new functionality
2022-05-17 17:51:40 +02:00
Veronica Berglyd Olsen
a5b2a06f84
Fix tests and add missing methods
2022-05-15 17:56:36 +02:00
Veronica Berglyd Olsen
ca48e37163
Move the outline view into a wrapper widget
2022-05-15 17:45:51 +02:00
Veronica Berglyd Olsen
304d122342
Add valid path check to the New Project Wizard ( #1062 )
2022-05-15 16:43:43 +02:00
Veronica Berglyd Olsen
7c7e4c2297
Disabled second wizard test on macOS as it too segfaults
2022-05-15 16:39:41 +02:00
Veronica Berglyd Olsen
e2c10f52d2
Disabled wizard test on macOS as it still segfaults
2022-05-15 16:37:09 +02:00
Veronica Berglyd Olsen
c91f19f9f7
Update wizard test coverage
2022-05-15 16:31:51 +02:00
Veronica Berglyd Olsen
1d5c8566d1
Check the sanity of paths during project wizard run (issue #1058 )
2022-05-15 15:11:17 +02:00
Veronica Berglyd Olsen
badb768529
Add a "views" toolbar to the main GUI ( #1057 )
2022-05-14 19:12:02 +02:00
Veronica Berglyd Olsen
d965320b57
Fix broken test
2022-05-14 19:07:34 +02:00
Veronica Berglyd Olsen
096c2dbc83
Add Typicons link to credits
2022-05-14 19:03:51 +02:00
Veronica Berglyd Olsen
88cc4bd5a4
Add new icons for the views bar
2022-05-14 19:00:47 +02:00
Veronica Berglyd Olsen
e8a0a6d5f9
Connect the change of view methods to all relevant actions
2022-05-14 18:27:18 +02:00
Veronica Berglyd Olsen
864b06a0e7
Shift all view changing functionality to the new Views bar
2022-05-10 22:14:35 +02:00
Veronica Berglyd Olsen
ea09a53496
Add the GuiViewsBar class
2022-05-10 20:56:52 +02:00
Veronica Berglyd Olsen
d6ca87868b
Add quick delete for empty folders ( #1055 )
2022-05-08 18:26:25 +02:00
Veronica Berglyd Olsen
14458c7184
Merge branch 'main' into delete_items
2022-05-08 18:23:04 +02:00
Veronica Berglyd Olsen
12cfce758c
Force consistency of item settings ( #1054 )
2022-05-08 18:22:52 +02:00
Veronica Berglyd Olsen
9e9beea83c
Fix outdated docstring in project tree class
2022-05-08 18:21:17 +02:00
Veronica Berglyd Olsen
0a5c51ad4b
Make deleting empty folders bypass Trash
2022-05-08 18:07:21 +02:00
Veronica Berglyd Olsen
9ee4d1b2cd
Reset meta data for folders
2022-05-08 17:52:36 +02:00
Veronica Berglyd Olsen
d833692e27
Merge branch 'main' into item_checks
2022-05-08 17:46:37 +02:00
Veronica Berglyd Olsen
b68280655f
Add Mastodon link to main readme and docs
2022-04-28 19:17:16 +02:00
Veronica Berglyd Olsen
1e7d329962
Force conistency of ROOT item settings
2022-04-28 19:04:21 +02:00
Veronica Berglyd Olsen
b35c85e831
Allow deleting non-empty folders ( #1048 )
2022-04-23 21:44:37 +02:00
Veronica Berglyd Olsen
bb53b2530c
Fix error messages when emptying trash
2022-04-23 21:41:14 +02:00
Veronica Berglyd Olsen
9bc7250532
Allow deleting non-empty folders
2022-04-23 21:33:11 +02:00
Veronica Berglyd Olsen
160c3d80f9
Fix the redundant spaces highlight option text in Preferences ( #1046 )
2022-04-23 20:14:13 +02:00
Veronica Berglyd Olsen
5538c3f995
Merge branch 'main' into issue_1043
2022-04-23 20:03:43 +02:00
Veronica Berglyd Olsen
c7e560ffc5
Allow documents to have child items ( #1047 )
2022-04-23 20:03:30 +02:00
Veronica Berglyd Olsen
d9e3fd7a01
Make some minor improvements to how expanded status is saved for items
2022-04-23 19:34:40 +02:00
Veronica Berglyd Olsen
732f20a0f1
Fix word count accounting and double click tree expansion
2022-04-23 19:00:11 +02:00
Veronica Berglyd Olsen
a8a34a4a37
Fix drag and drop word propagation
2022-04-23 18:03:03 +02:00
Veronica Berglyd Olsen
821833df8e
Fix tests and drop unused function from NWTree class
2022-04-23 17:05:29 +02:00
Veronica Berglyd Olsen
bd5a14b18e
Block drag and drop for ROOT items on the widget level, and drop the TRASH item type
2022-04-23 16:57:13 +02:00
Veronica Berglyd Olsen
d96c8ddf85
Remove all restrictions on drag and drop except in ROOT items
2022-04-23 16:21:20 +02:00
Veronica Berglyd Olsen
5cdcda66a5
Update data recursively when moving an item with child items
2022-04-23 16:09:50 +02:00
Veronica Berglyd Olsen
1a47bbaf8c
Allow files to have child items
2022-04-23 15:53:14 +02:00