about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/util/initial_state.js
AgeCommit message (Collapse)Author
2018-04-14[Glitch] Handle preference to always display sensitive mediaThibaut Girka
Port the UI part of 76f3d5d16be2fb97d2252909589510165ec05e12 to glitch-soc
2018-01-08When pulling out max_toot_chars, handle nullsDavid Yip
flavours/glitch/util/initial_state is used in places where we want to exhibit different behavior based on user preferences. This means that it's used in places where no preference is defined, i.e. on an unauthenticated access. All values exported from that module must therefore expect that case; previously, the max chars value didn't. Addresses #306.
2018-01-06appease eslintbeatrix
2018-01-06Read max_toot_chars from root object. Fixes #297.David Yip
max_toot_chars is present in the root of the initial state object. (Previously, we were trying to read it from the meta child object.)
2018-01-04WIPgit status <Compose> Refactor; <Composer> ed.kibigo!
2017-12-09add initial components based off of tootsuite pr #1507cwm
2017-12-03Rename themes -> flavours ? ?kibigo!