Veronica Berglyd Olsen
538b722bdf
Fix tests and a few other bits
2022-06-14 19:33:12 +02:00
Veronica Berglyd Olsen
ea61db9591
Simplify the novel outline tree
2022-06-14 00:14:51 +02:00
Veronica Berglyd Olsen
49ace054bd
Make options class handle enums, and add plot column to novel tree
2022-06-12 20:18:24 +02:00
Veronica Berglyd Olsen
8040441757
Allow changing content of last column of the novel tree
2022-06-12 19:59:18 +02:00
Veronica Berglyd Olsen
88b2d61cec
Update tests
2022-06-12 17:54:37 +02:00
Veronica Berglyd Olsen
52683d5a21
Add novel tree toolbar and connect actions
2022-06-12 17:47:32 +02:00
Veronica Berglyd Olsen
b3eb276437
Wrap the novel tree in an outer widget
2022-06-12 15:45:39 +02:00
Veronica Berglyd Olsen
ed5c52859d
Simplify the conversion of very old project data ( #1083 )
2022-06-11 23:57:08 +02:00
Veronica Berglyd Olsen
c58868ed39
Simplify the conversion of very old project data
2022-06-11 23:54:20 +02:00
Veronica Berglyd Olsen
5a5a64e3a2
Replace the edit item dialog ( #1082 )
2022-06-11 18:54:08 +02:00
Veronica Berglyd Olsen
2cc8be5776
Rename the main GUI function for editing an item
2022-06-11 18:48:22 +02:00
Veronica Berglyd Olsen
8d427f40c6
Add a shortcut to open project tree context menu
2022-06-11 18:40:21 +02:00
Veronica Berglyd Olsen
946656f8c5
Add test for edit label dialog
2022-06-11 18:26:41 +02:00
Veronica Berglyd Olsen
37c3bb8cd2
Replace the item editor with the label editor dialog
2022-06-11 18:19:21 +02:00
Veronica Berglyd Olsen
6058423970
Add a new edit label dialog
2022-06-11 18:17:57 +02:00
Veronica Berglyd Olsen
d162be3543
Give main GUI objects better names ( #1081 )
2022-06-11 16:36:15 +02:00
Veronica Berglyd Olsen
985179bbb9
Rename main theme object
2022-06-11 16:29:49 +02:00
Veronica Berglyd Olsen
db01d85f2e
Rename outline components
2022-06-11 15:59:08 +02:00
Veronica Berglyd Olsen
94068e777a
Give main GUI elements more identifiable names
2022-06-11 15:49:45 +02:00
Veronica Berglyd Olsen
0181bebd70
Rename ambiguous theParent variable to mainGui
2022-06-11 15:33:32 +02:00
Veronica Berglyd Olsen
b8d557646a
Update the Project Tree with major improvements ( #1079 )
2022-06-11 14:53:45 +02:00
Veronica Berglyd Olsen
025463a28e
Improve project tree test coverage
2022-06-11 14:40:03 +02:00
Veronica Berglyd Olsen
f0bef18b63
Re-implement the tree context menu
2022-06-11 13:44:45 +02:00
Veronica Berglyd Olsen
77746f712f
Fix inconsistend expand/collapse when tree items are moved
2022-06-11 12:33:37 +02:00
Veronica Berglyd Olsen
ad438e128a
Merge branch 'main' into project_tree_updates
2022-06-07 23:41:48 +02:00
Veronica Berglyd Olsen
af39fb98a1
Clean up project tree code and add undo action to the menu
2022-06-07 23:38:17 +02:00
Veronica Berglyd Olsen
ef270bc069
Tweak project toolbar look, and fix shortcuts
2022-06-07 22:38:02 +02:00
Veronica Berglyd Olsen
0909bf7c36
Update code of conduct to v2.1
2022-06-07 10:34:27 +02:00
Veronica Berglyd Olsen
5a6ef5efd3
Add move buttons to project tree toolbar
2022-06-07 00:11:42 +02:00
Veronica Berglyd Olsen
272e7f6e24
Remove redundant menu entries
2022-06-06 22:17:24 +02:00
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