Skip to content

Stack 0.6

Compare
Choose a tag to compare
@RolandTi RolandTi released this 24 Nov 12:47
· 41 commits to main since this release

Hello !
Here is the 0.6 of Stack.

Bugfixes

  • Readitlater plugin is now supported
  • Qrcode display has been fixed
  • The filter bar is kept open if a filter is active, thanks to css has(). The function is coming soon to Firefox
  • Responsive .svg favicon
  • Many littles display improvements

So whats new ?
I've been looking how Shaarli-Material use the config.json.php, to add options for Stack.

  • You can choose the default view (small/medium/large). The user will still be free to set & save a different one.
  • Hide the Daily tab.
  • Add a direct link to make a note (and save one clic!)
Stack screenshot

How does it work ?

Options are stored in data/config.json.php ,
so you need to add one of theses lines to customize Stack display:

  "config": {
    "STACK_HIDE_DAILY": true,
    "STACK_SHOW_NOTE": true,
    "STACK_DEFAULT_UI": "small" // small, medium or large
  },

Your data/config.json.php should look like :

//  …
"resource": {
    "data_dir": "data",
    "config": "data/config.php",
    "datastore": "data/datastore.php",
    "ban_file": "data/ipbans.php",
    "updates": "data/updates.txt",
    "log": "data/log.txt",
    "update_check": "data/lastupdatecheck.txt",
    "history": "data/history.php",
    "raintpl_tpl": "tpl/",
    "theme": "stack",
    "raintpl_tmp": "tmp/",
    "thumbnails_cache": "cache",
    "page_cache": "pagecache"
  },
  "config": {
    "STACK_HIDE_DAILY": true,
    "STACK_SHOW_NOTE": true,
    "STACK_DEFAULT_UI": "small"
  },
//…

Thanks !