Giter Site home page Giter Site logo

krystal's Introduction

krystal's People

Contributors

crazko avatar ericworks avatar lucible avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

krystal's Issues

Separate backlinks from storyview

Hello thank you for your awesome work !

In term of layout this is my best experience so far in TW world !

This is why I ask if it could be possible to separate both features (making 2 plugins)

  • Horizontal Layout
  • Backlinks

From my point of view I do not need back links.

Thank you

Right side of screen cut off

First of all, thank you for your amazing work. I love this plugin.

I took a short break from using it and when I re-enabled it, I got this weird bug. When I open more than two tiddlers, the right side of the screen gets cut off:

Screen Shot 2022-02-22 at 7 47 23 PM

I was unable to reproduce it with a newly downloaded copy of tw but a fried who just started using it a month ago had the same thing happen.

Since I helped set up my friend's tw, we have the same plugins and we're both using github to save. So I wondered whether one of our plugins was the culprit. But after disabling them all, the problem persisted.

Any suggestions for what to try next/any idea what's going on?

Thanks!

Make it possible to disable backlinks feature

Would it be possible to add a tickbox in plugin' settings to disable backlinks display ($:/plugins/rmnvsl/krystal/references) ?
This can conflict with other plugins that also offer this feature, and is quite independent from the other features of this plugin.

I really love this theme!

It's the first Tiddly theme that actually looks functional and pleasing to the eye. I added the theme to my node install and it all just works:

https://glitch.com/~helpful-foil-exhaust

Would love to help out / learn more or just generally cheer you on as you build this out. I don't know much about Tiddly but excited to learn and experiment with it.

Ideas for Andy's hover effect?

Hey,

Awesome theme! Have you thought about an easy way to integrate the preview feature from Andy's version? You can see a similar implementation on Anne-Laure's site. If you don't currently have the bandwidth, I'd be open to taking a stab at it.

TypeError: document.querySelector(...) is null

Here is an attempt to make krystal and multicolumn plug in work together.
This is done using the ensemble feature of multicolumn - you can save a particular layout, storyview, stylesheets tiddlers, pagetemplate to a particular ensemble. So when we load that particular ensemble, all these will be automatically loaded.

Check this demo - https://multicolumn-krystal.tiddlyhost.com/

But I encountered one problem -

image

Is this related to krystal plug in.

Configurable Tiddler Width via Theme Tweaks in Control Panel

It would be great if we could adjust the width of all panes via a setting in the control panel. There is an option for theme tweaks, and you've already created a tab for Krystal, so it would make sense to allow the pixel width for the panes to be set there without having to edit a shadow tiddler.

Import tiddler is blank

Dragging links on the story river or using the Import button summons the Import tiddler at the left, but it is blank:

Screenshot_2020-06-08 My TiddlyWiki โ€” a non-linear personal web notebook

Maximize column

Feature request:

Option for maximizing column (so it takes full screen width) would be useful for writing longer tiddlers (especially with preview since TW show preview in vertical split)

Suggestions for more functionality

I have been using tiddlywiki for the last 6 months regularly and i mostly use Krystal plug in for the story view. Here are some of the things which i observed during my regular use that may help to increase the functionality

  1. Clicking on the link in a tiddler when it is in the maximised state should return the tiddler back to the default state as mentioned by you in this comment #13 (comment)
  2. Keyboard shortcut for going into and coming out of the maximised state of a tiddler. I dont know whether this is possible since it may be difficult to find which is the active tiddler when all tiddlers are in view-mode.
  3. Dropdown option for the header tools especially the "Open" tiddler which shows the currently open tiddlers. I am asking this because when 4 or more tiddlers are open simultaneously, it is slightly difficult to see and compare two non-adjacent tiddlers. For example, if I want to see 3rd and 5th tiddler side-by-side, what i do now is click open the "Open" tool from header and drag and drop 3, 5 tiddlers into 1st and 2nd tiddler position. If there is a dropdown option for "Open" tool in the header, i can drag and drop from there itself and help speed up my workflow. The workaround i am using now takes up little more time and i will lose the flow of note taking. Check this link to see a similar dropdown implementation
  4. "Close tiddlers to the right" - When this option in the settings is set to yes, clicking on the first link in a tiddler will open the link to the right. Any more links you click from the same tiddler will open that link to the right after replacing the previously opened tiddler on the right. I would like to over-ride this behavior if i use "shift clicking" a link instead of "just clicking" the link. That is if i shift click the links, it should keep on opening to the right without closing the already opened tiddler on the right side.
  5. Alt or Ctrl clicking on a link in a tiddler should open that link in the maximised state rather than in the default state.

Sorry for the lengthy post. I think i have mentioned these things in some other places also. I am posting all these together here for easy reference. If you can start the "Discussion" thread of github, i can shift this to discussions.

Awesome work

Just wanted to say thank you for this theme. Fantastic work

Help wanted

Any one help me figure out wtf I'm actually doing

[bug] "Sidebar" tiddlers not rendered when using w/ TW 5.2.1

Installing plugin into a node-based tw created w/ 5.2.1 results in the following rendering error:

Screen Shot 2021-12-28 at 10 20 52 AM

Steps to reproduce.

  1. Create a new wiki w/ node cli tiddlywiki mynewwiki --init server
  2. Create a plugins directory
  3. Copy the plugin into the plugins directory
  4. Launch server

I confirmed that if I downgrade to TW 5.1.23, the sidebar is working correctly. I assume that this is a minor incompatibility issue, but I am new to the TW world and haven't been able to track down a changelog that would help me start looking for discrepencies.

Double headers after update to 0.5 version

image

After the update, my wiki was looking like this. I had to remove the $:/tags/PageTemplate from the $:/plugins/rmnvsl/krystal/header-small to get it removed.

I had done some tweaks in my wiki to make Krystal and captivate theme compatible. Can that be responsible for this. You can see a test wiki at this site - https://krystal.tiddlyhost.com/

Conflict with TiddlyMap

image

Steps to reproduce :

  1. Get a new wiki running
  2. Install TiddlyMap http://tiddlymap.org/
  3. Install Krystal
  4. Click on the Map menu

The problem seems to come from the removed sidebar, and tc-sidebar-scrollable element

An option to compare tiddlers by introducing something similar to Two story view or Muuritouch

My current TW is made based on Krystal. I love your concept. Full width view has made it even better.

Only thing I find lacking is its difficult to compare two related Tiddlers side by side. This may be done by introducing something similar to two story view or Muuritouch. A button can be added in the top menu to switch between the horizontal story river and two-story view or something like Muuritouch view. Or else an additional button can be provided in the view toolbar of the tiddlers for shifting their position.

I don't have much technical knowledge in this matter. These are just a few suggestion. Don't know whether its implementable or not.

[IDEA] Header items bad tiddler names

Some shortcuts are put on the header to replicate Tiddlywiki Sidebar items like

  • $:/core/ui/SideBar/Open
  • $:/core/ui/SideBar/Recent
  • etc.

When user click on them and open one of them he/she sees something like below

img_88_chrome

Look at the ugly tiddler title. In original design of Tiddlywiki, these titles are replaced by captions when they are open at the sidebar

Workaround

  • Use other tiddlers for header item for example Open instead of $:/core/ui/SideBar/Open as below
    • create a new tiddler
    • name: Open
    • tag: $:/tags/SideBar
    • text: {{$:/core/ui/SideBar/Open}}

Solution
The sidebar items need to be treated in a better way. In other words Sidebar items should not be opened like an ordinary tiddler in the story river

  • One solution can be what https://nicolas.petton.fr/tw/notebook.html uses.
  • Other solution can be to open a tiddler contains horizontal tabs each replicate the original sidebar tab!
    A fixed width area at the left to open the sidebar item

Help needed to hide the header of Krystal in mobile only

I am using a hack given by Nicolas Petton in TW google group to enable his NoteBook theme only in mobile (not in desktops). But the header of Krystal is persisting and partly hiding the sidebar when I open the sidebar in mobile (with notebook theme active). Is there any way to hide the header only in mobiles ? I am attaching a demo wiki with relevant tiddlers set as default home page tiddlers.

Demo.html.zip

[IDEA] Krystal on medium screen

While Krystal works best on Large screen, it seems under width=960px Krystal uses vertical layout! Headers accumulate the center in several rows! I may suggest to use a top or bottom row to arrange few header items as in Notebook!

image

Workaround

Exported Static Site is broken

I really like this theme, but it seems that the exported html file is not functional. (links give wrong results, etc) Would you please take a look? Thanks

[bug] wrong horizontal scrollWidth property in Firefox browser

ScreenRecording

Firefox seems not reading the container's scrollWidth correctly, hence every time I scroll from left to right, the story river's scrollWidth increases; and everytime I scroll from right to left, the story river's scrollWidth decreses.

As the screen recording shows, this inconsistent scrollWidth property break the tiddler navigation. i.e. clicking on a stacked tiddler on the right won't navigate to and unfold the tiddler. Tiddler navigation works when clicking on a stacked tiddler on the left, but not the other way around.

Interestingly, I found a hack for it, simply add a placeholder after the ending tiddler with following content:

<section style="position: relative;width: 1px;height: 1px;border: 1px solid #bbb;" id="hack_firefox_horizontal_scroll">
</section>

right before the section.story-frontdrop under section.tc-story-river, would solve the issue. The place holder must have some width & height. I tried, and found out that it won't work if the border is removed (which then has width 0 and height 0).

I have no idea why Firefox behaves like this, and why this hack works out of the box... I'm just guessing it's related to position: sticky and the fix works by adding something with position: relative, which kind of sounds like float and clear: both thing.

Need a better referencing or linking than default

There is a need for a better referencing or linking than the default linking in Krystal.
I will give some examples using 4 different linking plug ins for the same tiddlers

  1. Using default linking in Krystal.

image

Here only the direct backlinks are shown without highlighting of the linked words and without ability to collapse the references.
  1. Using stroll or tiddlyblink (found in Goodies for Stroll - https://giffmex.org/stroll/goodies.html)

image

Here also only the direct backlinks are shown, but there is highlighting of the linked words and ability to collapse the reference.
  1. Using TWCrosslinks (found in Drift - https://akhater.github.io/drift/)

image

image

image

Here there is backlinks, free links, tags and keywords with pop up showing highlighting of linked words and ability to collapse the reference. But there pop up could be implemented better I guess.

  1. Seen in early version of tiddlyresearch (https://kebifurai.github.io/TiddlyResearch/)

image

image

Here they provide 4 types of references - tags, direct backlink, mention in the title of a note, mention in the body text of a node and each of them are colour coded. Then there is pop up mechanism using tobibeer preview on hovering over the links.

I was just sharing my thoughts. I prefer something which is a mix of TWCrosslinks or tiddlyresearch. But tobibeer preview plug in is not compatible with Krystal if we open more than two tidldlers. Hope you can make a better referencing in Krystal.

Manually reorder tiddlers in river

Still loving the theme, by the way. The thought crossed my mind today, though, to raise an issue for a potential enhancement. It's not a major thing, but I thought I'd share and see if it was something you also thought beneficial.

I think it would make my use cases better if I could manually reorder the tiddlers in my river.

Currently, I use Krystal set to not close tiddlers to the right. I often want several related tiddlers open that contain notes and fragments while I'm writing in another tiddler. The ability to move them around in order would be a great benefit so I could compare two specific ones side by side without having to close several and reopen them in a different order.

Optionally, I could switch the setting to close tiddlers to the right if there was an option to override this behavior with a keyboard shortcut (like shift+click). In other words, the default action would be to close tiddlers to the right when clicking a link in a tiddler, but if I had a list of tiddlers and wanted them all open, I could shift+click on each entry in the list and they would all open in the order I clicked.

Let me know if that needs further clarification. I don't know if you would see that as an improvement in behavior, or if it's even possible to implement. But, it crossed my mind today, and I wanted to share.

Thanks again for your work on this!

Unable to view installed tab plugins

I love this template: it is so fun to use! But I am having difficulty viewing plugins that should appear in the top header. For example, the favorite plugin, does not show up beside the Open/Recent/More tab options. The theme seems to not allow tabbed subheadings. Is this a design of the template or something that can be modified to allow?

Stacking of tiddlers on the left side doesn't reveal tiddlers title unlike one the right side [Safari browser]

When multiple tiddlers are opened, stacking of tiddlers on the left side doesn't reveal the tiddlers title unlike on the right side.
I am attaching some images for reference.

image

In the first image, the first two tiddlers on the left side are in focus while the unfocussed tiddlers one the left side are stacked together with their titles revealed.

image

In the second image, the last two tiddlers on the left side are in focus, while the unfocussed tiddlers on the left side are neither shown as in stack nor their title are revealed.

image

This third image is showing that one tiddler stacked on the right is not showing its title (third one from the right) because I had scrolled to the bottom of that tiddler before moving to another tiddler.

Can this be corrected?

Screen doesn't move further to the right when new pages are opened.

As soon as more tiddlers are opened than fit onto the screen, the view remains focussed on the current tiddler instead of moving further to the right. In other words, the newly opened tiddlers are not visible unless one scrolls manually further to the right.

For example, at https://notes.andymatuschak.org/ the view moves automatically further to the right which I think would make a lot of sense.

PS: I really love your implementation so far!

PPS: I just discovered that the newly opened page is scrolled into view if the link is clicked a second time. Clicking it once opens the page. Clicking it a second time scrolls it into view. I'm not sure if this is intentional

[IDEA] Use fixed with for Searchbox

The search box at top right move left when user starts entering keywords and TW found some tiddlers on deleting the inputs the searchbox get smaller again! This expanding/contracting is annoying see below gif.

img_87_%pn

Suggestion
Use fixed width search box and dropdown or relocate the searchbox as Notebook from Nicolas Petton
https://nicolas.petton.fr/tw/notebook.html

Option for Graph/map view?

Hi! Wondering if anyone has gotten a map/connected graph view working with this plugin.

I've tried TiddlyMap but it ended up breaking the behavior. If anyone has any workarounds or alternatives, it would be much appreciated ๐Ÿ˜„

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.