1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-04 11:13:15 +00:00
Commit Graph

659 Commits

Author SHA1 Message Date
Myeongjin
33bca3d390 add localisable strings for search 2015-10-18 18:09:41 +09:00
Jermolene
33563d01ba Add user interface for enabling performance instrumentation 2015-10-14 10:59:55 +01:00
Tobias Beer
00f6aafed6 being specific about the tiddler to be deleted via action-deletetiddler 2015-10-10 21:01:07 +02:00
Tobias Beer
9a23c2471c modified alert template and execute action-deletetiddler on currentTiddler by default 2015-10-10 16:47:11 +02:00
Jermolene
acbf87657b Switch to absolute date format
The present implementation of relative dates doesn’t auto-update, nor
does it work effectively in static renderings. Until that’s fixed, I
think it is better to switch to absolute dates.
2015-10-07 18:35:23 +01:00
Jermolene
72941f3e9a Addresses #1066 by moving the search results into a dropdown.
The dropdown can be summoned by clicking on the search field. It will
only appear if the search field is not empty. When the search field is
not empty the dropdown can be also be summoned by clicking on the arrow
or search result count.

There are still some wrinkles where the dropdown doesn’t appear when
expected; I’d appreciate feedback to help reproduce those cases.

This change should still work with custom search result tabs.
2015-09-27 22:53:46 +01:00
Jermolene
90e0b6f555 Remove extraneous whitespace from view template 2015-09-19 21:12:37 +01:00
Jermolene
c03dc4c37c Make the fold-bar be selectable as though it were a toolbar button 2015-09-19 09:36:26 +01:00
Jermolene
e6529af04e Tiddler editor: accept new tags and fields when clicking "confirm"
Fixes #1939
2015-09-19 09:36:11 +01:00
Jermolene
cf00658ddf Add full-width "unfold" button for folded tiddlers
And also a full-height “fold” button for unfolded tiddlers.

Trying to address #1908
2015-09-18 19:45:34 +01:00
Jermolene
b641cb402d Add banner for unfolding tiddlers 2015-09-18 19:45:34 +01:00
Jermolene
76c12a9ecc Make it easier for other view template segments to support folding 2015-09-07 17:00:03 +01:00
Jermolene
2c9b1ae257 Add warning when trying to use plugins designed for TiddlyWiki Classic 2015-09-04 17:18:34 +01:00
Jermolene
010b01f205 Remove extra DIV added to view template
One of the changes for introducing folded tiddlers was the extra reveal
widget here, which introduces an extra DIV element, breaking some CSS
rules. To fix it, we re-use the reveal widgets generated DIV as the
tiddler body DIV
2015-08-10 11:39:11 +01:00
Jermolene
ac08dc2e35 Added fold/unfold all buttons
More translations, @BramChen, apologies…
2015-08-09 17:25:01 +01:00
Jermolene
4152fbbfeb Use different wording for unfolding vs folding
Apologies for making more work @BramChen!
2015-08-09 16:40:58 +01:00
Jermolene
bad4a19f8e Add fold others button 2015-08-09 12:56:48 +01:00
Jermolene
5d43cd7408 Add fold tiddler toolbar button
Addressing this tweet:
https://twitter.com/s_stryjecki/status/629349768280604672
2015-08-09 11:10:04 +01:00
Jermolene
7421616754 Make keyboard shortcuts configurable
Fixes #1892
2015-08-08 13:43:14 +01:00
Jermolene
3b321b5d26 Add buttons to the top of the $:/Import tiddler too 2015-08-01 13:19:39 +01:00
Jermolene
58188cf805 Improvements to parser rule configuration
* Ignore parser rule configuration in safe mode
* Made text translatable
* Added new setting for camelcase links
* Added warning on parser rule configuration tab

See #1875
2015-07-31 13:33:33 +01:00
Jermolene
d5e690a06d First pass at global disabling of parser rules
This is to address #1875 more quickly than via #345.

This commit only includes a partial implementation of the UI - see the
ticket for details.
2015-07-30 12:28:29 +01:00
Jermolene
7dddc925ae Allow delete button to be used in view toolbar
Fixes #1871
2015-07-08 15:33:18 +01:00
Jermolene
f3b5dc530e First pass at selectable toolbar button styles
There’s not much to making the toolbar button styles switchable: the
change to the PageTemplate introduces a new configuration tiddler that
controls the button styling. Most of this commit is the user interface
for changing that setting, including the translatable text. I think
this again demonstrates that we need to be very selective about which
configuration options have a UI included in the core. Otherwise, a few
dozen more of these settings will start to become a significant
fraction of the core.
2015-07-02 08:57:06 +01:00
Jermolene
31ebbb2d7d Add translatable strings for type dropdown 2015-07-01 15:58:49 +01:00
Jeremy Ruston
062aa03c5a Merge pull request #1849 from Infurnoape/master
Update fields.tid
2015-07-01 15:40:25 +01:00
Devin Weaver
7057c6252e Fix bad table rendering with info button
When the info button in the TagManager was press it revealed the info
table but it was squished in one cell and that pushed the right side of
the table past the width of the tiddler. So using a colspan optimises
the spacing (plus it looks better).
2015-06-30 23:59:23 -04:00
Devin Weaver
98a1ee1a8d Add untagged to TagManager
Used for stats and easy access to the untagged pill
2015-06-30 23:56:16 -04:00
Devin Weaver
7d348b3733 Move counts to TagManager 2015-06-30 23:56:02 -04:00
Andrew J Harrison
7ad15bc248 Update fields.tid
Add a new field drop down
2015-06-29 10:45:41 -07:00
Jermolene
f42842f801 Add variable indicating preview region
@felixhayashi does this do the trick for you?
2015-06-20 09:33:11 +01:00
Jermolene
a89ae45188 Add hidden setting for autofocusing search box
Fixes #1748
2015-06-19 17:28:57 +01:00
Jermolene
b31803608b Refactor navigator widget configuration
@felixhayashi sorry I should have realised earlier that it’s worth
doing it this way so that we can have different settings for different
story rivers.
2015-06-19 16:44:20 +01:00
Jermolene
0d5033e2a0 Add title links setting 2015-06-13 15:22:50 +01:00
Jermolene
3e1b84064a Improved fix for illegal field name problem
Better fix for the problem identified in 9b4b9d4
2015-05-18 22:16:04 +01:00
Jermolene
5a6249894d Fix problem with field names containing special characters
The characters `> / ' " =` were causing problems.

Thanks @ericshulman
2015-05-18 19:29:10 +01:00
Jeremy Ruston
9935902b92 Revert "Added a close library butten to add plugins modal" 2015-05-12 17:36:27 +01:00
jed
ad4cd7326a Added a close library butten to add plugins modal
The button deletes the local tiddlers that contain information about the library. This allows you to:

*hide the library contents
*reload the library to see any updates to the plugins it contains. If this isn't done than local information about the available plugins is never updated (this problem may need a separate fix that doesn't require reloading the library).

I have three problems that should be addressed:

*I am not sure that the location and color of the close library button is appropriate
*When you click on the close library button a message asking you if you want to delete the $:/temp/ServerConnection/(url) tiddler appears, if you click 'cancel' than the library is shown as open and empty, the only way to fix this condition is to delete the server connection tiddler manually. I think there is a simple fix to this but I can't think of anything.
*Sometimes if you try to open a library that you have just closed it won't open properly. The tiddlers that contain the plugin information are created, but the server connection tiddler isn't created until you reload the wiki. This behavior is inconsistent and sometimes opening the library again works with no problems. I do not know why. I would be fine with requiring a refresh before a library could be reopened so that the startup module acts, but I am not sure what to do about this inconsistent behaivor. I have not been able to find any cause.
2015-05-08 18:24:10 -06:00
Jermolene
789069bb6b Add palette page control button 2015-05-05 18:53:35 +01:00
Jeremy Ruston
4656a7e8f6 Merge pull request #1662 from felixhayashi/feature/navigator_widget
upgrading the navigator widget
2015-05-04 20:21:38 +01:00
Felix Hayashi
9693f97b16 upgrading the navigator widget
Motivation / Agenda

* https://github.com/Jermolene/TiddlyWiki5/issues/1651
* https://github.com/Jermolene/TiddlyWiki5/issues/1650

Summary

* Changed the NavigatorWidget (primarily `addToStory()`)
* Applied lingo to settings
* Applied lingo to selectbox options
2015-05-03 13:24:16 +02:00
Jermolene
9cf5d88cc9 Add "open new window" tiddler toolbar button 2015-05-02 12:12:51 +01:00
Jermolene
7b4153f87f No longer autofocus the search box in the plugin library
It messes things up in iOS, and perhaps other browsers too
2015-04-30 17:45:22 +01:00
Jermolene
f3ed9bf7e4 Fix problem with double quotes in new field value
Fixes #1634
2015-04-03 09:06:57 +01:00
Jermolene
b97336f171 Feedback for Control Panel (etc) button
Give the toolbar buttons for control panel, advanced search and tag
manager the selected state when the corresponding tiddlers are open in
the story river.
2015-03-23 11:36:54 +00:00
Mario Pietsch
9ae3b5588c fixes the [Get more plugins] button tooltip 2015-03-20 11:34:14 +01:00
Jermolene
77db136d4f Missed off previous commit 2015-03-18 11:46:37 +00:00
Jermolene
24435a46be Lots of improvements to the plugin library
* Moved “add new plugin” into a modal wizard
* Adopt big friendly buttons
* Add plugin icons and readmes to “add new plugin” modal
* Use tabs for splitting plugins/themes/languages
* Consistent styling between the “add new plugin” modal and the
“installed plugins” control panel tab
* Behind the scenes, moved from addressing the library as
`recipes/defaults/tiddlers/<etc>` to `recipes/library/tiddlers<etc>`
2015-03-18 11:46:28 +00:00
Jermolene
d4d69d7dd3 Remove click-to-navigate on tiddler bodies
This was introduced to make it possible in the new stacked story view
to click on a tiddler to bring it to the front. By allowing a tiddler
in view mode to be focussed, it also prepared for view mode keyboard
shortcuts. (Eg, a key to edit the current tiddler).

However, there are several minor issues with the unexpected behaviour
of clicking on a tiddler navigating to it, so we’ll leave this out of
5.1.8
2015-03-16 09:43:12 +00:00
Jermolene
d3954af478 Soften colour of system tiddler icons 2015-03-10 12:29:39 +00:00
Jermolene
42499ea6ff Minor tweaks and fixes for #1529
1. Display friendlier caption field in select dropdown
2. Remove extraneous line break from end of default config tiddler
3. Minor wording tweak
2015-03-03 18:10:01 +00:00
Jeremy Ruston
7a326f022b Merge pull request #1529 from felixhayashi/sidebar-default
Option to define the default sidebar tab
2015-02-28 12:13:46 +00:00
Simon Baird
5713e48541 Revert "Add navigation support to the edit template"
For some reason this is causing the focus to be repeatedly set to
the title field when editing a tiddler's text. Let's revert it for
now.

See Issue #1527.

This reverts commit fdc635007b.
2015-02-27 13:44:24 +10:00
Felix Hayashi
21b738936f setting default sidebar tab 2015-02-25 17:53:32 +01:00
Jermolene
fdc635007b Add navigation support to the edit template
Matching the change we’ve already made to the view template
2015-02-23 18:59:46 +01:00
Jermolene
4dd2b38faa Make tiddler frames clickable
With this enhancement, clicking on a tiddler in the story view will
navigate to that tiddler. This is needed for eg the stacked storyview,
where we want to be able to click on tiddlers to bring them to the
front of the stack.

There are some problems though - as things stand, clicking on a tiddler
in classic storyview will scroll to the top of that tiddler.
2015-02-23 11:28:36 +01:00
Mario Pietsch
18d45a302d german translations + fix TypedTiddlers missing file extension 2015-02-12 12:38:32 +01:00
Jermolene
1534fed4f7 Don't give the plugin warning for $:/Import 2015-02-10 23:17:50 +00:00
Jermolene
2305385c08 Don't list all tiddlers in tag dropdown in edit template
@tobibeer I think that this was originally from you. I think it’s
problematic listing all available tiddlers for performance and
usability reasons.

I’ve instead taken advantage of your work to template the tag links by
splitting the system and non-system tags. What do you think?
2015-02-10 14:43:09 +00:00
Jermolene
b66db0dca9 Improvements to display of plugin libraries 2015-02-09 19:41:28 +00:00
Jermolene
2585f8932c Left off previous commit 2015-02-09 19:04:22 +00:00
Jermolene
8643278a45 Add support for an integrated plugin library
Fixes #1450

Provides support for an integrated plugin library that can be used to
install plugins from tiddlywiki.com directly to wikis hosted online or
offline. See the Plugins tab of Control Panel.

Todo:

* Error checking(eg libraryserver.js HTTP GET)
* Translatability
* Documentation
** $:/tags/ServerConnection
** savelibrarytiddlers command
2015-02-09 19:04:11 +00:00
Jermolene
aae56f20af Display warning banner when plugins are modified
Fixes #1455

@aelocson have I got the docs right for the new filter?
2015-02-08 19:40:15 +00:00
Jermolene
cfea481ce8 Ensure stylesheet is re-rendered when the language changes
This ensures that things like the drop message are updated when the
language changes.
2015-02-08 17:56:17 +00:00
Tobias Beer
2017ae5ac4 basic empty story message
added documentation to HistoryMechanism
2015-02-07 13:17:32 +01:00
Jeremy Ruston
d340277cb2 Merge pull request #1392 from tobibeer/1387-fix-tiddlyspot-backup-url
Add resolvepath macro
2015-02-03 14:22:48 +00:00
Tobias Beer
4a05bd10e9 renamed to resolvePath using $tw.utils.resolvePath
adapted ControlPanel / Saving accordingly
2015-01-29 00:38:08 +01:00
Tobias Beer
e504530005 introduce serverpath macro
for now, computes path to backup directory, appending the relative path
of UploadBackupDir to the absolute one from the UploadURL

Also added example for store.php to hint
2015-01-23 11:26:14 +01:00
Tobias Beer
5e175ec7c1 changed tabs to use same filters as AdvancedSearch
...to have one place to configure / override
2015-01-20 16:51:41 +01:00
Tobias Beer
77c9918338 shows better message for backup dir with custom store.php
relates to #1387
2015-01-20 12:06:09 +01:00
Tobias Beer
9c7936413a edit-tags-filter-tags-and-titles
fixes #1333

extracts the tag-link into a component template...

**$:/core/ui/Components/tag-link**

...so as to split the list in two, having two filters that list tiddlers
in the add-tags popup to...

1. firstly, list matching used tags
2. secondly, list mathcing tiddler titles, thus availabe for tagging

Does away with searching content as it is irrelevant if not distracting
for tagging.

Why two lists? Consider wanting to tag a tiddler with "Filters"...
observe how the result would otherwise be way too far down because
existing tiddler titles get in the way.

Component templates are also desireable elsewhere, e.g. #1318
2015-01-11 01:29:53 +01:00
Jermolene
ea6e60e669 Focus search box on startup 2015-01-04 15:53:48 +00:00
Jermolene
8cb7090c40 Experimentally add icons to AdvancedSearch, ControlPanel and TagManager 2014-12-21 17:22:47 +00:00
Jermolene
23fdc94417 Fix problem with import button tooltip 2014-12-09 15:35:16 +00:00
Jermolene
51f8e58d5f Sort languages by description instead of title 2014-12-04 16:51:13 +00:00
Jermolene
2689e2861b Revert to using fieldmangler for adding fields
In 5.1.5 we switched to using `<$action-setfield>` instead of
`<$fieldmangler>`. The problem was that in the process we lost the
validation of field names, making it possible to create fields with
illegal names

Fixes #1186
2014-12-04 09:39:14 +00:00
Jermolene
870006d2b9 Remove extraneous space after "more tiddler actions" button
Fixes #1172
2014-12-03 16:48:14 +00:00
Jermolene
5154a25ab9 Add tooltip to browse widget
Fixes #1179
2014-12-02 19:16:38 +00:00
Jermolene
cb9506a166 Fix problem with content-type popup
Thanks @tobibeer
2014-11-25 22:03:34 +00:00
Jeremy Ruston
6f0d581d72 Merge pull request #1141 from tobibeer/auto-focus-title-on-edit
#371 focus title field on edit
2014-11-25 13:43:08 +00:00
Tobias Beer
c0834583a0 #371 focus title field on edit
* enhanced edit-text widget with a "focus=true" attribute
* modified title template to make it focus and select by default
2014-11-25 12:39:08 +01:00
Jermolene
719e4d901d Fix problem with tag popup disappearing
Fixes #1137
2014-11-24 16:24:12 +00:00
Jeremy Ruston
37ef5da20f Merge pull request #1125 from tobibeer/fix-toolbar-button-spacing
fixed toolbar button spacing
2014-11-24 09:37:02 +00:00
Tobias Beer
4def52df80 removed some more trailing blanks from PageControls
Note: I did NOT test the results as I have yet to figure out how to make
node.js...

* actually run the server without a 403
* build the core tw after me having made changes
2014-11-23 21:04:13 +01:00
Tobias Beer
a84dc61303 fixed toolbar button spacing
* removed trailing whitespaces in button tids
* defined a global left margin for buttons set to 5px
* slightly less than in view-mode before
* slightly more than in edit-mode before
* but visually more appealing to me
* leaves a wee more room for the title to unfold
2014-11-23 17:32:29 +01:00
Jermolene
5708b76d6e Tweak close button in advanced search 2014-11-23 16:07:58 +00:00
Jermolene
e6043b07b9 Update export button to use tiddler title as filename base 2014-11-22 14:19:10 +00:00
Jermolene
f786872589 Tweak popup handling of tiddler info panel 2014-11-22 09:42:36 +00:00
Jermolene
b882a0dff1 Fixes to make nested popups work
Thus making the export button a lot more useful
2014-11-21 17:07:03 +00:00
Jermolene
002d47b4d9 Fix wrapping of tags in tag manager
Now long tags wrap onto multiple lines. I think they look quite good,
and we may want to consider using the same technique in the view
template.
2014-11-18 14:07:00 +00:00
Jermolene
838c3c4eb0 Fix problem with page controls
By transcluding the page controls we were changing the current tiddler
2014-11-18 14:06:03 +00:00
Jermolene
b2550f31c2 Fix whitespace in edit toolbar cancel button
The extra newline at the end of the tiddler was showing up as
whitespace in the toolbar.
2014-11-17 16:29:49 +00:00
Jermolene
81481588e0 Add advanced search links to control panel list counts 2014-11-17 16:26:39 +00:00
Jermolene
0ea8cfb1de Remove obsolete control panel tools tab
Now we’ve got the export button instead
2014-11-14 09:46:09 +00:00
Jermolene
fdc272bff4 Improve styling of search buttons 2014-11-13 21:39:38 +00:00
Jermolene
6fc5c70ace First pass at export button
New export button appears as a page control toolbar button, a tiddler
toolbar button, and a button in the advanced search filter tab.

Initially supports exporting as static HTML, CSV, JSON or `.tid` file.

Still to do:

* Made the exporter descriptions translatable
* Hide the export button by default
* User docs
* Cleaning up the existing templates (eg,
`$:/core/templates/alltiddlers.template.html` should work by
transcluding `$:/core/templates/exporters/Static`)
* Docs for the new macros `exportButton`, `csvtiddlers` and
`jsontiddlers`

Issues:

* OS X Numbers refuses to open CSV files that have been generated in
Chrome, because it thinks they’ve been downloaded from the Internet.
Firefox works OK
* The export button won’t work within the tiddler info panel, or from
the *more* popup (this is because we don’t support nested popups)
2014-11-10 20:59:15 +00:00
Jermolene
147f404a41 Fix search results to be in block mode 2014-11-10 19:55:45 +00:00
Jermolene
b70b85aa9e Add group headings to default search results 2014-11-10 19:52:37 +00:00
Jermolene
769842c4db Improved fix for h2 title bar markup
Fixes the problem @pmario raised at
https://github.com/Jermolene/TiddlyWiki5/commit/09a3f94d79fc6eacbfd46c86
594748e996191eb2#commitcomment-8488743
2014-11-08 17:51:35 +00:00
Jermolene
1255060a5a Retract view template title change in 09a3f94d79
As @pmario points out, the change interferes with the floating of the
toolbar buttons:

https://github.com/Jermolene/TiddlyWiki5/commit/09a3f94d79fc6eacbfd46c86
594748e996191eb2#commitcomment-8488743
2014-11-08 17:39:58 +00:00
Jermolene
09a3f94d79 Accessibility fixes
Fixes for accessibility issues raised here:

https://groups.google.com/d/topic/tiddlywiki/C6lSabtpdEI/discussion
2014-11-07 21:15:21 +00:00
Jermolene
4d061d0fee Provisionally extend search results to list title matches separately
I’m not sure whether this is a good solution. Nor am I keen on the
horizontal rule to separate the two groups of results.
2014-11-06 20:58:33 +00:00
Jermolene
157f8faa6b Update advanced search standard to use search tabs
We reuse the tabs introduced for the sidebar search results
2014-11-06 20:57:31 +00:00
Jermolene
92f69d44bf Use action-deletefield widget in edit template fields editor
On the way to deprecating the field mangler widget
2014-11-06 18:32:11 +00:00
Jermolene
da1f9f7d22 Add input box for new field value to edit template 2014-11-06 18:24:33 +00:00
Jermolene
0bb8e08edc Provisionally make tag pill foreground colour be responsive
With this commit tag pills will now choose for the foreground colour
either the current palette “foreground” or “background” colours,
according to which has the higher contrast. It’s something @gernert has
expressed an interest in in the past, and I’ve tended to agree that it
is a nice piece of polish. It opens up the possibility of paler colours
for tag pills than are currently possible.

The trouble is that in order to implement it I’ve had to bring in a
third party library for parsing CSS colours. It weighs in just over
9KB, making quite a lot of weight for such a small feature. I don’t see
any other immediate uses for the colour parsing library either.

So, I’m undecided at the moment whether this should stay in the core.
2014-11-06 13:35:48 +00:00
Jermolene
df891e7110 Further tag manager tweaks
Making it translatable, and changing the icon for “info”
2014-11-04 12:35:46 +00:00
Jermolene
096165217a Tweaks for tag manager
There were some missing table cells which rendered weirdly.

Still got some wrinkles, though - eg two tag dropdowns appearing.
2014-11-03 22:39:05 +00:00
Mario Pietsch
d07fea949d change tag manager layout, and add css rule 2014-11-03 23:07:00 +01:00
Jermolene
63b00fd0f8 Add advanced search button to search results
Clicking on the advanced search ellipsis when there is a search string
will open the advanced search tiddler, and copy the current search term
to it.

Thanks to @Spangenhelm for the idea.
2014-11-02 16:10:53 +00:00
Jermolene
06cbc45dfa Wrap page control previews in position:relative
Fixes #1031
2014-11-01 08:42:34 +00:00
Jermolene
13726ef731 Add canned filter for recent system tiddlers
Useful when you need to establish the titles of tiddlers being used for
state storage.
2014-10-31 10:01:25 +00:00
Jermolene
2eee132147 Increase size of flags in language dropdown 2014-10-29 12:15:32 +00:00
Jermolene
b0a0859b62 Allow control over default search results tab 2014-10-28 08:31:09 +00:00
Jermolene
c13cf94413 Add support for custom search result visualisations 2014-10-27 18:38:34 +00:00
Jermolene
485ffae366 Refactor the page controls to be more reusable
Moving them into their own tiddler makes it easier to transclude them
elsewhere
2014-10-24 11:17:58 +01:00
Jermolene
6681a8e1f2 Add an advanced search toolbar button 2014-10-22 16:30:41 +01:00
Jermolene
ddc7495542 Move search result count logic out of translations
Also fixes a problem pointed out by @Evolena whereby the advanced
search counts hadn’t been adjusted to remove `$:/temp/advancedsearch`
from the search.
2014-10-21 20:27:42 +01:00
Jermolene
5154a83cf9 Exclude search string tiddler from search results 2014-10-13 09:11:34 +01:00
Simon Baird
0671e59fed Add span wrapper around button caption text
Reasons:
- can show or hide the button text with CSS (assuming
  tv-config-toolbar-text is yes).
- can have different looking buttons in the page controls versus the
  view toolbar, etc
- more flexibility styling the button appearance, for example you
  can change the text size compared to the icon size
- button appearance is more themeable
2014-10-12 01:43:01 +10:00
Jermolene
a671e72706 Fix problem with import button triggering checkbox on Firefox
It seems that there is a broader problem with the way that the button
is embedded within the label of a checkbox; even on Chrome it meant
that the checkbox active state was triggered when clicking on any of
the buttons. The user experience was in any case confusing; it wasn’t
obvious that clicking on the label to the right of the button would
flick the checkbox.

The solution takes the buttons and labels out of the checkbox label.
2014-10-10 20:50:50 +01:00
Jermolene
9a6f1f66be Yet more fixing for the Firefox jumping toolbar problem...
See #282
2014-10-10 20:32:12 +01:00
Jermolene
9cd420290b Fix for titles including double quotes 2014-10-09 20:11:11 +01:00
Jermolene
ea7d9652c5 Move new journal here button to the correct directory 2014-10-09 18:00:34 +01:00
Jermolene
515b556b48 Fix for previous fix
Fix for problem introduced in 25f4ce93ac
2014-10-09 17:51:29 +01:00
Jermolene
25f4ce93ac Fixed truncation of tiddler info panel
Caused by the fix to #282
2014-10-09 17:42:18 +01:00
Simon Baird
00cdd04edd Add a 'new journal here' button
The journal tiddler will be tagged with the name of the current
tiddler. This is similar to how the new here button works.

(Would have liked to reuse the journalButton code which is almost
identical between new-journal-here and new-journal, but I'm not
sure how to do it.)
2014-10-10 02:06:56 +10:00
Jermolene
36a43c3f41 Ensure new-here tag is quoted
Fixes problem with new here on tiddlers with spaces in their title.
Thanks to @simonbaird

Fixes #956
2014-10-09 13:08:11 +01:00
Jermolene
70984aa39f Add "new here" button
This is a basic “new here” tiddler toolbar button that just creates a
new tiddler tagged with the title of the current tiddler.

@pmario is there anything else required?
2014-10-08 22:02:32 +01:00
Jermolene
d778a90eb0 Make new journal title and tags be configurable 2014-10-08 18:35:25 +01:00
Jermolene
e872f17842 Add a new journal page toolbar button
Spot the easter egg with the toolbar button…

Fixes #336
2014-10-08 17:46:34 +01:00
Jermolene
42abef6fbf Adjust untagged divider styling
Further fixes for #913
2014-09-27 16:56:59 +01:00
Jermolene
580e046e7d Separate tags pills from untagged pill with whitespace
Instead of using an `<hr>`. Fixes #913
2014-09-27 10:12:43 +01:00
Jermolene
d047ccdc84 Remove support for deprecated $:/tags/stylesheet tag 2014-09-21 11:26:11 +01:00
Jermolene
c5d0ae4c9b Fix problem with preview state storage in import listing
Fixes #877
2014-09-19 21:56:37 +01:00
Jermolene
02601a02fc Add note clarifying purpose of TiddlySpot settings
We’ve had a couple of cases where users have assumed that the “backup”
setting applies to ordinary, local saves
2014-09-19 09:13:18 +01:00
Jermolene
40567c2f88 Drop the count column from the tag manager
It increases the horizontal width of the table, and isn’t particularly
useful.
2014-09-16 13:14:06 +01:00
buggyj
ab944bbf02 change filter to stop automatic view transclusion if field 'hide-body' has the value 'yes' 2014-09-10 18:00:29 +02:00
buggyj
04df2a4a20 change filter to stop automatic view transclusion if field 'hide-me' is defined 2014-09-10 12:37:05 +02:00
Jermolene
b7f638aef3 Change button widget 'title' attribute to 'tooltip'
Fixes remainder of #824
2014-09-10 10:25:50 +01:00
Jermolene
7ed1a2ebc7 Ensure that deprecations are clearly marks
So that we can easily remove them before we come out of beta.
2014-09-10 09:20:43 +01:00
Jermolene
f6ff0a7f71 Deprecate $:/tags/stylesheet in favour of $:/tags/Stylesheet
A warning message appears at the top of the story river if any
`$:/tags/stylesheet` tags are found.

Fixing the first half of #824
2014-09-10 09:13:21 +01:00
Jermolene
c6c4cf2289 Improve timeline macro 2014-09-08 18:58:48 +01:00
Jermolene
c1de85838f Replace snippet/recentchanges with timeline macro 2014-09-08 18:20:34 +01:00
Jermolene
756e05504b Fix stylesheet block/inline mode
The problem was that stylesheets were being  transcluded in inline mode
(rather than block mode), which meant that triple backticks were not
being interpreted as block mode markup, but rather as a series of
single backticks.
2014-09-08 08:46:04 +01:00
Jermolene
7e93c93785 Start to empty out the control panel tools tab
The control panel isn’t the right place for tools; it’s a place for
settings and internal configuration.

Once again apologies to the translators for wiping out your hard work!
2014-09-05 09:28:49 +01:00
Jermolene
ede244f0a4 Move SaveWikiButtonTemplate to correct folder 2014-09-05 09:20:10 +01:00
Jeremy Ruston
5a5fe75289 Merge pull request #782 from pmario/edit-tags-dom
removes the p-tags for the tag edit dropdown in tiddler edit mode
2014-09-04 18:13:21 +01:00
Jeremy Ruston
465b3ac1de Merge pull request #784 from pmario/fix-type-selector
Fix type selector
2014-09-04 18:13:02 +01:00
Jermolene
47c53f924f Move control panel autosave settings 2014-09-04 09:58:50 +01:00
Jermolene
6f4af4fc27 Reorganise control panel tabs 2014-09-04 09:58:14 +01:00
Mario Pietsch
487c4a40ab cover the typeselector in a div-element, because the p-element has unwanted margins 2014-09-03 15:26:40 +02:00
Mario Pietsch
542788bfeb These changes remove the p-tags from the edit-tags dropdown in tiddler edit mode. ... The changes also take effect to the tiddler-type-chooser popup, since it uses the same css classes. 2014-09-03 15:08:51 +02:00
Jermolene
bb97bc11fd Move control panel sub-tab tiddlers into same folder 2014-09-03 13:09:25 +01:00
Jermolene
a375d2d9b6 Remove "advanced" and "appearance" from control panel tab titles
For example, the previous title for the tiddler containing the editor
types tab of control panel was
“$:/core/ui/ControlPanel/Advanced/EditorTypes”. We’re now removing the
“Advanced” portion, so that we don’t have to rename tiddlers like this
if we move them around between tabs
2014-09-03 12:46:22 +01:00
Jermolene
d2fd85eb12 Missed class "body" conversion to "tc-tiddler-body" 2014-08-31 14:37:37 +01:00
Jermolene
89fd5379dd Change "tw-*" variables to "tv-*" 2014-08-28 22:28:02 +01:00
Jermolene
26f3a27e22 More classname tweaks
Thanks @pmario
2014-08-28 22:22:40 +01:00
Jermolene
2f69ea362c Rename "tw-*" messages to "tm-*" 2014-08-28 21:43:44 +01:00
Jermolene
f223310d34 Yet more "tw-*" -> "tc-*"
Part of #764
2014-08-28 19:41:29 +01:00
Jermolene
995f0e7f29 More conversion of "tw-*" classes to "tc-*"
Part of #764
2014-08-28 19:13:21 +01:00
Jermolene
a1ec52c5cb Rename more "tw-*" classes to "tc-*"
Part of #764
2014-08-28 19:08:31 +01:00
Jermolene
8b10994cfe Rename more "tw-*" classes to "tc-*"
Part of #764
2014-08-28 18:59:35 +01:00
Jermolene
1814d502a4 Convert more "tw-*" classes to "tc-*" 2014-08-28 18:47:21 +01:00
Jermolene
787481a804 Change more "tw-*" classes to "tc-*"
Part of #764
2014-08-28 18:21:08 +01:00
Jermolene
a7dfa954d1 Rename "tw-image-*" classes to "tc-image-*"
Part of #764
2014-08-28 17:47:43 +01:00
Jermolene
9173e944df Rename class "btn-big-green" to "tc-btn-big-green"
Part of #764
2014-08-28 17:30:12 +01:00
Jermolene
b374e10cc6 Rename "btn-icon" class "tc-btn-icon"
Part of #764
2014-08-28 17:29:23 +01:00
Jermolene
d0cbd34bf9 Rename "btn-invisible" class to "tc-btn-invisible"
Part of #764
2014-08-28 17:28:32 +01:00
Jermolene
e939a00be5 Rename "sidebar-header" class to "tc-sidebar-header"
Part of #764
2014-08-28 17:27:03 +01:00
Jermolene
87cb520343 Rename "story-river" class to "tc-story-river"
Part of #764
2014-08-28 17:26:21 +01:00
Jermolene
90f0fc22ff Rename "title" class to "tc-title"
Part of #764
2014-08-28 17:25:07 +01:00
Jermolene
63d7fd8457 Rename "titlebar" class to "tc-titlebar"
Part of #764
2014-08-28 17:21:40 +01:00
Jermolene
748caecca0 Fix tiddler info default tab
Mistakenly omitted from b437f1b450
2014-08-28 15:16:54 +01:00
Jermolene
b437f1b450 Allow default tiddler info tab to be configured 2014-08-28 09:12:00 +01:00
Jermolene
a105b52399 Refactor saver handler
Fixing problems caused by c4b76ceb0bc786bcceb12fc3417bb8c4bfde27a9:

* We still need to initialise the saver-handler even when syncing to a
server, otherwise offline snapshots can’t be saved
* We need to override the default save template a bit further up the
stack, to avoid the server side serving the offline version of the wiki
at `/`
2014-08-20 10:02:44 +01:00
Jermolene
0dfe23e0db Rename tw-refresh message to tw-browser-refresh 2014-08-19 13:11:18 +01:00
Jermolene
920e11e792 Introduce refresh button and revert home button
Now the home button behaves as it did in 5.0.13, and the new refresh
button does a full page refresh.
2014-08-19 12:12:36 +01:00
Jermolene
727638c12d Clean up CSS macros
Move the CSS macros into global macros, and allow the colour macro to
fallback to the vanilla palette if the required colour isn’t found in
the current palette.
2014-08-18 10:14:19 +01:00
Jermolene
32a7ee2683 Make it possible to disable plugins 2014-08-15 21:10:40 +01:00
Jermolene
04e049df97 Add message for empty plugin lists 2014-08-15 16:48:02 +01:00
Jermolene
4b05608ad5 Add tag manager button 2014-08-14 08:49:03 +01:00
Jermolene
be8c753f28 Fix formatting of edit fields 2014-08-10 09:13:56 +01:00
Jermolene
69de66ef80 Avoid localisable strings in the tag manager icon dropdown 2014-08-09 20:52:31 +01:00
Jermolene
e74a598aeb Better organisation for the tag image dropdown 2014-08-09 20:50:28 +01:00
Jermolene
f6d7d87a3d Add icon previews to tag manager 2014-08-09 13:12:23 +01:00
Jermolene
2ff2092615 More improvements to control panel plugin formatting 2014-08-08 17:19:48 +01:00
Jermolene
878689f92e Improved formatting for control panel plugins 2014-08-08 16:35:17 +01:00
Jermolene
bd92dc3692 Improve plugin tab layout
It’s still a bit of a mess, and the vertical alignment isn’t working
properly
2014-08-08 10:01:21 +01:00
Jermolene
2c4e9a64e9 Extend control panel plugins tab
Now we display plugin icons, and an accordion containing information
tabs exposed by the plugin.
2014-08-07 15:48:38 +01:00
Jermolene
e38f924eb5 Update language flags to generic plugin icon convention 2014-08-07 15:45:56 +01:00
Jermolene
1573f5840e Fix styling of "more" page button 2014-08-02 22:31:09 +01:00
Jermolene
1a9bd683e4 Add theme toolbar button 2014-08-02 22:13:54 +01:00
Jermolene
1d8e3ef288 Trim sidebar tools
Just got to add a theme button
2014-08-02 13:38:22 +01:00
Jermolene
bf39a45fc0 Fixes for import button position 2014-08-02 12:16:14 +01:00
Jermolene
7816c1d944 Add import button 2014-08-02 11:59:07 +01:00
Jermolene
120203a8e0 Refactor sidebar tools tab
It’s going to be like the tools tab of tiddler info
2014-08-02 11:58:55 +01:00
Jermolene
5291f33c84 Clearer current selection for language and storyview 2014-08-01 22:07:07 +01:00
Jermolene
9774c763b1 Add a storyview button 2014-08-01 21:40:13 +01:00
Jermolene
c23f6af4b5 Add CSS classes for each tag 2014-08-01 17:48:26 +01:00
Jermolene
6a2f1be9d7 Typo in stylesheet processing 2014-08-01 17:48:11 +01:00
Jermolene
d357e1706c Allow visible edit fields to be configured
Create a tiddler “$:/config/EditTemplateFields/Visibility/fieldname”
with the text “hide” to hide a particular field
2014-08-01 17:03:53 +01:00
Jermolene
52bbd6d583 Add tick alongside current language 2014-08-01 16:52:24 +01:00
Jermolene
799a5b059a Move fullscreen button into core from plugin 2014-08-01 16:52:12 +01:00
Jermolene
099919f61e Fix whitespace issues 2014-08-01 08:43:00 +01:00
Jermolene
789ba1e85d Add language toolbar button
Also adds flag icon for each language.

One limitation is that the language button doesn’t work properly when
accessed via the “more” menu of the page controls.

@BramChen - could you help me choose the most appropriate flags to use
for the variants of Chinese?
2014-07-31 18:07:37 +01:00
Jermolene
2d43003841 Add descriptions to toolbar buttons 2014-07-31 09:28:46 +01:00
Jermolene
f589e56692 Highlight savewiki text as well as icon 2014-07-31 08:07:31 +01:00
Jermolene
c4c4c3d270 Add "more" page control button 2014-07-30 22:25:52 +01:00
Jermolene
56945d91d3 Add unsaved changes indicator
The “save” icon changes to red to indicate that there are unsaved
changes.
2014-07-30 16:46:13 +01:00
Jermolene
73d7e85e11 Ensure sticky titles theme works in edit mode 2014-07-30 12:19:15 +01:00
Jermolene
f4b834aa2a Add close-all page control button 2014-07-30 11:40:06 +01:00
Jermolene
2380392f35 Add a page control for encryption 2014-07-29 15:43:10 +01:00
Jermolene
4de1a1adbe Normalise titles of toolbar button tiddlers
The title shouldn’t include the toolbar name if we’re starting to have
buttons which can be placed on more than one toolbar.
2014-07-29 13:37:57 +01:00
Jermolene
4bb8c4e8a7 Add toolbar tabs to control panel 2014-07-29 10:20:13 +01:00
Jermolene
30f60c400e Add tiddler info tools tab 2014-07-28 14:38:17 +01:00
Jermolene
46ae9bd34e Add tiddler info tools tab 2014-07-28 14:37:42 +01:00
Jermolene
536c697c9f 'more' toolbar button highlights when selected 2014-07-28 14:20:45 +01:00
Jermolene
ad4db0de97 Add 'more' toolbar button 2014-07-28 11:29:06 +01:00
Jermolene
497d9812c8 More buttons for the view toolbar
The arrangement of disabling and enabling buttons within the tiddler
info panel is temporary.
2014-07-27 11:43:26 +01:00
Jermolene
71ae63e24f Temporary commit losing power 2014-07-25 17:17:02 +01:00
Jermolene
3d5f68f7a8 Add a close others button 2014-07-25 13:09:20 +01:00
Jermolene
218ce09605 Add permalink/permaview/clone to tiddler info bar
I’m open to suggestions for better ways to expose this functionality
2014-07-24 15:50:18 +01:00
Jermolene
22468990a2 Fix typo 2014-07-23 20:51:06 +01:00
Jermolene
0cf63ab9f0 Add theme tweaks upgrader 2014-07-18 20:00:05 +01:00
Jermolene
8612bc4006 Rename $:/tags/AboveStory and $:/tags/BelowStory 2014-07-18 11:29:09 +01:00
Jermolene
2322be3f41 Add preview to upgrade wizard
The tiddlers are wikified in the context of the host wiki, which means
that mutual transclusions between imported tiddlers won’t appear
correct in the preview.
2014-07-17 18:42:04 +01:00
Jermolene
7a034560d1 Refactor ImportListing
Better to avoid relying on the storyTiddler variable, which is a pain
for people trying to reuse the import listing.
2014-07-16 20:31:10 +01:00
Jermolene
58cd874f22 Missed off last commit 2014-07-14 21:52:46 +01:00
Jermolene
4d948c575f Improvements to one-shot upgrade UI 2014-07-14 21:52:32 +01:00
Jermolene
07f13b310d Display plugin content in view template 2014-07-14 14:52:31 +01:00
Jermolene
1f6e16318a First pass at upgrade mechanism 2014-07-12 09:09:36 +01:00
Jermolene
91acad0f7c Add support for story backdrop and frontdrop
Allows elements to be added above or below the story river
2014-07-08 10:16:10 +01:00
Jermolene
0fae9ee992 Improve handling of popup state
An improvement to 6fb992690d

By making sure that all the popup state tiddlers have the prefix
$:/state/popup/ we can be more selective and just exclude popup state
tiddlers when we save. The end result is that once again other kinds of
state are persisted as expected (eg tabs, and sidebar visibility).
2014-06-22 11:14:11 +01:00
Jermolene
0b38cd640c Reverse accidentally making Contents the default tab 2014-06-21 11:18:59 +01:00
Jermolene
fb5c44a875 Remove indenting
It didn’t work very well, and was giving us spans where there should be
divs in the tab control.
2014-06-21 11:16:35 +01:00
Jermolene
0bdc5b5c70 Add editor type mappings to control panel 2014-06-18 13:52:22 +01:00
Jermolene
34e4166dc5 Add label and title for show/hide sidebar buttons
More fixes for #650
2014-06-17 11:39:18 +01:00
Jermolene
346b2f8611 Add label for advanced search link 2014-06-17 07:56:36 +01:00
Jermolene
6f859c8d44 Add label for close button in open sidebar tab 2014-06-17 07:56:27 +01:00
Jermolene
325a93f3c3 Move button language to $:/language/Buttons 2014-06-17 07:56:13 +01:00
Jermolene
401349a1d6 Improve a11y of close buttons in open tab
a11y === accessibility
2014-06-16 17:40:38 +01:00
Jermolene
bc9b67cbc3 Use H1 for page title and H2 for tiddler titles
Ideally, we’d also rebase the headings within tiddlers so that `!
Heading` would be an H3. Hopefully we’ll do that later.
2014-06-16 17:34:20 +01:00
Jermolene
bf2f88ba8b Use H1 for tiddler titles
Part of #650
2014-06-15 08:37:58 +01:00
Jermolene
eeedcb6d94 First pass at accessibility improvements for #650 2014-06-14 18:06:56 +01:00
Jermolene
9ab0c84140 Support global macros via the importvariables widget
The new importvariables widget imports macro/variable definitions from
the specified tiddlers and makes them available to its children.

Allows us to split PageMacros up into separate tiddlers.

We still support loading macros from $:/core/ui/PageMacros to help
people upgrading.

Fixes #644 and #559
2014-06-12 18:01:33 +01:00
Jermolene
9547a1f01c First pass at external image support
A bunch of little changes that together enable external image support.
Try:

```
tiddlywiki editions/tw5.com --verbose --build externalimages
```

Then open `externalimages.html`, look for the images in the more/types
tab of the sidebar, open them and verify that they are set with an
external SRC attribute, not a data URI.
2014-06-12 08:36:30 +01:00
Jermolene
9b576f2a8d Add group headings to type dropdown
We’re also reverting to the old custom dropdown. Using the select
widget didn’t work out because it couldn’t cleanly work with a text box
allowing custom types to be specified.
2014-06-06 09:32:14 +01:00
Jermolene
c8e98c1567 Use the select widget tiddler content types 2014-05-31 22:39:32 +01:00
Jermolene
ffd9df670d Fix problem with tabs switching on language change
In 5.0.12-beta, if you change the current language setting then the
current sidebar tab setting is lost. This was because the qualified
title generated for the tabs was incorporating the current language
title, by virtue of a trick used in the PageTemplate to set the
“languageTitle” variable to a field of the current language plugin.
This trick left the current tiddler set to the current language, and
this current tiddler was still in force for the transclusion of the
page template segments.
2014-05-31 19:20:51 +01:00