Skip to content
Open

2.0 #40

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
211 commits
Select commit Hold shift + click to select a range
be31d73
update bootstrap resources to bs5. Update jquery to 4.0.0-beta
lenadax May 6, 2024
9a6f1ec
header livesearch styles
lenadax May 6, 2024
fabb9fe
layout WIP
lenadax May 7, 2024
680c0c7
fix Main Menu / Header on mobile/tablet viewports
lenadax May 13, 2024
ab77a77
color toggle mode basics
lenadax May 13, 2024
a4ee432
some layout fixes
lenadax May 13, 2024
ab01301
scrollable sidebar
lenadax May 13, 2024
62f7aee
properly init open naxtree dropdown
lenadax May 13, 2024
ce2fa95
fix mainmenu nav. some styling changes
lenadax May 14, 2024
658e2ab
allow scroll on mainmenu. Scrollbar js improvements
lenadax May 14, 2024
15bd54e
Content Table styles
lenadax May 14, 2024
97fa52e
Sidebar resize and toggle functionality
lenadax May 16, 2024
8e75709
move some elements of header in dropdown on mobile sizes
lenadax May 16, 2024
2fcbfab
add principal acl to example
rnixx May 17, 2024
ed09d35
header and sidebar improvements
lenadax May 17, 2024
b954e5b
Merge branch '2.0' of github.com:conestack/cone.app into 2.0
lenadax May 17, 2024
5ef0682
move colortoggle to personaltools
lenadax May 17, 2024
82eb174
ignore build folder
lenadax May 17, 2024
783dac1
change some icons. improve some dropdowns wip. Change default border …
lenadax May 17, 2024
9b943cc
add scss readme
lenadax May 17, 2024
0834483
Merge branch '1.1' of https://github.com/conestack/cone.app into 2.0
rnixx May 22, 2024
c7fe8b4
Do not render contextmenu if it contains no elements
rnixx May 22, 2024
16f3c76
Remove karma, add web test runner. Overhaul Colormode JS.
rnixx May 22, 2024
d370c48
Prevent multiple JS instance creation where necessary
rnixx May 22, 2024
78582ab
some sidebar JS cleanup
rnixx May 22, 2024
1ae904a
Overhaul scrollbar JS
rnixx May 22, 2024
c1e3a01
layout template formatting
rnixx May 23, 2024
48ddb96
Only one JS bundle. Fix toolbar handling on sidebar resize
rnixx May 23, 2024
31c9232
Add pointer_events attribute to Scrollbar
rnixx May 23, 2024
acba061
further styling improvements
lenadax May 24, 2024
83d0e1c
display sidebar and header only if user has view permission
rnixx May 24, 2024
36646fc
rewrite Colormode class, add ColorToggler class
lenadax May 24, 2024
499233d
style login form
lenadax May 24, 2024
64f44a0
loginform margins
rnixx May 24, 2024
1110582
colormode and scrollbar JS cleanup
rnixx May 25, 2024
23d98cb
Some more colormode JS cleanup
rnixx May 25, 2024
a9a6e10
Add custom make targets for installing and running example application
rnixx May 25, 2024
d00980d
Basic language dropdown bootstrap 5 adoption
rnixx May 25, 2024
a88d5ff
Contextmenu WIP
rnixx May 25, 2024
d63b1b5
Add translations to example
rnixx May 25, 2024
2c3ab6c
move language dropdown to personaltools
rnixx May 25, 2024
9d7da5b
simplify styles, fix add dropdown
rnixx May 25, 2024
b9b27e4
Remove ionicons, Update icons, add basic copysupport styles
rnixx May 25, 2024
dad2a95
Language flag icons in language dropdown
rnixx May 26, 2024
c3f56fa
move ordering actions in contents table at the end of row actions
rnixx May 26, 2024
57ec7be
Add basic item and some views to example
rnixx May 26, 2024
d81605f
Content form, translation widget
rnixx May 26, 2024
03c262f
Colors for selectable items in darkmode
rnixx May 26, 2024
6c3500d
Move example user data to correct location
rnixx May 26, 2024
0702999
Live search WIP
rnixx May 26, 2024
c17760b
Livesearch result renders to content, remove typeahead
rnixx May 29, 2024
41ace1c
Cleanup mainmenu template. Mainmenu display children not works right …
rnixx Jun 2, 2024
521cfa1
Update Makfile, Update include.mk, Update example translations
rnixx Jun 2, 2024
dbc92b0
Allow Mainmenu Dropdowns.
lenadax Aug 5, 2024
1574258
update package.json
lenadax Aug 5, 2024
a52c87e
Allow scrolling of scrollbar via touch events
lenadax Aug 5, 2024
ed2eefb
remove css units specified in 'vh', as this does not take into accoun…
lenadax Aug 5, 2024
03d3dc5
re-add sidebar resizer 'height: 100vh' due to being rendered in a con…
lenadax Aug 5, 2024
a6c325e
use treibstoff mobile events - WIP: no release yet
lenadax Aug 6, 2024
544dc69
other approach independent of viewport width for mainmenu collapsing
lenadax Aug 6, 2024
7c369ae
add is_mobile property to scrollbar to always display when mobile vie…
lenadax Aug 8, 2024
d08af48
compiled js
lenadax Aug 8, 2024
1b0b6a8
mobile menu rework WIP
lenadax Aug 8, 2024
6b81e25
move logic from mainmenu to header
lenadax Aug 9, 2024
9c4742f
remove PersonalTools class. Logic gets applied in Header
lenadax Aug 9, 2024
2783444
some styles
lenadax Aug 12, 2024
0eded45
ensure safe position of scrollbar on various events
lenadax Aug 12, 2024
e0f16c9
Header main menu is now scrollable on bigger tablet devices. Scrollba…
lenadax Aug 12, 2024
cbf52bd
scrollbar factors in padding
lenadax Aug 12, 2024
b1ace01
mobile table styles
lenadax Aug 12, 2024
6001e8e
some more mobile table styles
lenadax Aug 12, 2024
466c5c3
various mobile styles
lenadax Aug 13, 2024
b169817
Set Logo color based on responsive sidebar expanded
lenadax Aug 19, 2024
8a18556
personaltools colortoggler alignment
lenadax Aug 19, 2024
f6a341c
split scss into multiple files
lenadax Aug 19, 2024
e4343c5
max filter width on desktop
lenadax Aug 19, 2024
94ec2c1
outsource compact/full logic to mainarea
lenadax Aug 20, 2024
6cf57ae
Implement LayoutAware class (WIP)
lenadax Aug 20, 2024
76ced31
remove ':has' css rules, as they are not supported in FF.
lenadax Aug 22, 2024
0c40e22
align mainmenu dropdown with header bottom
lenadax Aug 22, 2024
c9f3432
fix login screen
lenadax Aug 22, 2024
937e2fe
actually fix login view, preserving scroll functionality for actual c…
lenadax Aug 22, 2024
a50135d
update jQuery to 4.0.0-beta.2
lenadax Aug 22, 2024
ca9631b
some documentation
lenadax Aug 22, 2024
3753223
update header dropdown css
lenadax Aug 22, 2024
ef20e07
more documentation
lenadax Aug 22, 2024
89324b5
Implement ResizeAware Mixin
lenadax Aug 23, 2024
fe74263
get tests running again WIP
lenadax Aug 23, 2024
27c2b45
more python tests running, still WIP
lenadax Aug 23, 2024
64d39a2
more tests, WIP
lenadax Sep 9, 2024
202f674
fix layout tests
lenadax Sep 9, 2024
f499c0f
tests: fix referencebrowser extraction Errors (was not translated, wo…
lenadax Sep 9, 2024
184228a
set personaltools item required css for all items
lenadax Sep 12, 2024
d5fdcdb
extend color definitions by muted blue
lenadax Sep 13, 2024
e1dc470
style settings
lenadax Sep 17, 2024
7976956
add setting descriptions
lenadax Sep 17, 2024
11e29b0
style settings_sidebar
lenadax Sep 20, 2024
ca69350
add margin to settingsform headline
lenadax Sep 20, 2024
bc83e7c
update to bs5 package branches
lenadax Nov 8, 2024
045cc8c
fix some resources tests
lenadax Nov 8, 2024
631ae06
restore translation tests
lenadax Nov 8, 2024
2513cd3
run tests on bootstrap5 theme
lenadax Nov 8, 2024
a2af78b
merge 1.1
rnixx Nov 11, 2024
80575bc
include popper.js dependency
lenadax Nov 20, 2024
5b4d8e2
include popper.js dependency
lenadax Nov 20, 2024
a6fae75
Remove no longer used ``content_grid_width`` and ``sidebar_left_grid_…
rnixx Nov 20, 2024
141108a
Update changelog
rnixx Nov 20, 2024
2eb94d1
Update Makefile
rnixx Nov 20, 2024
37c0ad5
Add missing JS dependency
rnixx Nov 20, 2024
6df0082
improve table styling
lenadax Nov 28, 2024
15aec79
fix login page for Firefox and mobile
lenadax Dec 2, 2024
4770e83
fix table filter size with additional items
lenadax Dec 2, 2024
78e1515
additional table improvements
lenadax Dec 2, 2024
5f39b1c
style referencebrowser as input-group
lenadax Dec 3, 2024
c715327
adjust table for smaller viewports
lenadax Dec 3, 2024
6b0ef18
lighten secondary color to be visible in dark mode
lenadax Dec 3, 2024
268cc8f
add base url to layout
lenadax Dec 12, 2024
a5f1fed
cssclass fallback
lenadax Dec 13, 2024
dc37021
Create NavTree js class, save collapsed state in localStorage
lenadax Dec 17, 2024
ef07b18
Create NavTree js class, save collapsed state in localStorage
lenadax Dec 17, 2024
0951d8f
flex-direction column on mobile for contextmenu
lenadax Jan 7, 2025
feac641
render entire table title element on show_title condition
lenadax Jan 16, 2025
f1a15ae
introduce flag to avoid rendering ContentForm into a Bootstrap Card
lenadax Jan 21, 2025
0617006
revert previous change
lenadax Jan 21, 2025
76ae0a6
print css
lenadax Jan 24, 2025
d75ff8f
slighty darken primary color for better bootstrap button styling
lenadax Jan 31, 2025
0d01f92
Improve referencebrowser appearance
lenadax Feb 3, 2025
4f504fe
Properly display selected context menu item by switching selected_css…
lenadax Feb 3, 2025
493613c
fix python tests
lenadax Feb 3, 2025
77f522b
test: include pnpm as package manager for github actions
lenadax Feb 3, 2025
9d25f1a
test: specify correct pnpm version
lenadax Feb 3, 2025
9cc074a
test: try again with seperate pnpm install step
lenadax Feb 3, 2025
429a27e
test: remove pnpm action_setup as it produces conflicting versions
lenadax Feb 3, 2025
8798b43
another test: remove version declaration in github workflow yaml.
lenadax Feb 3, 2025
10c76dd
another test: add imp backport to fix missing dependency.
lenadax Feb 3, 2025
df21acd
Add error_class and valid_class to referencebrowser
rnixx Feb 3, 2025
3c05919
Merge branch '2.0' of github.com:conestack/cone.app into 2.0
rnixx Feb 3, 2025
37e9175
add overflow-y: hidden to the body to prevent an undesired scrollbar
lenadax Feb 3, 2025
76b289f
replace 'pathbaritem' css class with bs5 'breadcrumb-item' css class.…
lenadax Feb 3, 2025
7e538bb
WIP: reduce detached DOM elements occurence
lenadax Feb 21, 2025
622cd25
some destroy imporvements
lenadax Feb 21, 2025
9690850
try to fix corepack issue in CI
lenadax Feb 24, 2025
d0d995c
try restore checkout to v4
lenadax Feb 24, 2025
339606b
define corepack in test.xml
lenadax Feb 24, 2025
e0a30b0
try to enable via corepack
lenadax Feb 25, 2025
b6f69b9
try: remove imp dependency
lenadax Feb 25, 2025
f373c63
try to remove python 3.12 and 3.13 to force tests to run on lower ver…
lenadax Feb 25, 2025
1c36fe2
try to enable corepack
lenadax Feb 25, 2025
4e4df01
try to force python version
lenadax Feb 25, 2025
9997406
use node.18 in docs tests
lenadax Feb 25, 2025
c6a3dc2
update changelog
lenadax Feb 25, 2025
ffb3c13
some cleanup
lenadax Mar 6, 2025
f88e20b
add is-valid/is-invalid css class to referencebrowser wrapper to disp…
lenadax Mar 17, 2025
c05d5b1
fix sidebar memory leak
lenadax Mar 18, 2025
6c578f3
update js api, sort exports
rnixx Mar 18, 2025
89cb4e1
Merge branch 'memory' of github.com:conestack/cone.app into memory
rnixx Mar 18, 2025
98beb66
Merge pull request #37 from conestack/memory
rnixx Mar 18, 2025
b040728
fix tests (display_class was added in yaowil display_renderer)
lenadax Mar 24, 2025
277748d
implement a categorized add menu in contextmenu using some logic from…
lenadax Apr 18, 2025
44ec5f9
fix tests
lenadax Apr 18, 2025
d0a383f
remove padding from categorized menu - keep padding for regular menu
lenadax Apr 18, 2025
70ec997
add important flag to body scroll-y
lenadax Jun 2, 2025
be69419
referencebrowser: actions td will only take up the width it requires.
lenadax Jun 3, 2025
5fe093a
batched items
lenadax Jun 3, 2025
812eb8e
fixed additional items attr check
lenadax Jun 3, 2025
ac15cb2
implement show_navroot flag deciding whether to render the root navro…
lenadax Jun 6, 2025
51c8644
remove obsolete navroot indicator
lenadax Jun 6, 2025
7206709
add has-editor css class
lenadax Jun 6, 2025
a21cd4e
minor fixes
lenadax Jun 10, 2025
9cf0d4a
better visibility for header in dark mode
lenadax Jun 12, 2025
3fbadbe
remove table and batch default classes
lenadax Jun 17, 2025
8fe61c8
move sidebar to content area
lenadax Jun 17, 2025
fc0a407
remove unnecessary css
lenadax Jun 20, 2025
5e94380
update branches. update tests.
lenadax Jun 23, 2025
6483de3
show_navroot as model property
lenadax Jun 23, 2025
9d2f09a
fix mainmenu/header layout if mainmenu flag is False
lenadax Jun 24, 2025
e0fdf04
implement a sidebar on the right side of the content area.
lenadax Jun 24, 2025
0bb5efe
introduce sidebar lock_state button
lenadax Jun 26, 2025
356e27a
fix css
lenadax Jun 26, 2025
9ec4fa1
add span to link action text; add content css container
lenadax Jun 26, 2025
713f669
fix sidebar collapse issue.!
lenadax Jun 26, 2025
a155e0f
fix python tests
lenadax Jun 27, 2025
ec847cf
add config tests
lenadax Jun 27, 2025
784b8c3
remove glyphicon
lenadax Jun 30, 2025
7ba6196
more sidebar tweaks - lock resizing and disable collapsing on sidebar…
lenadax Jul 1, 2025
cdad1a2
add option to swap between sidebar content
lenadax Jul 2, 2025
0777505
allow css for ajax_message in addition to flavor.set default overlay …
lenadax Jul 2, 2025
5db8a29
Merge branch 'sidebar_right' into multi-sidebar
lenadax Jul 2, 2025
f9930a1
add margin to batched items footer pagination
lenadax Jul 2, 2025
710970b
add check for pagination padding
lenadax Jul 2, 2025
5172bc2
referencebrowser multi select trigger styles
lenadax Jul 2, 2025
c1f3c36
compiled js
lenadax Jul 2, 2025
d731d9a
optical fix for editor sidebar
lenadax Jul 7, 2025
a136c51
optional contextmenu in settingsform
lenadax Jul 7, 2025
fc781f8
batched items pagination
lenadax Jul 7, 2025
dab9106
sidebar config: implement sidebar_mode property ('stacked' or 'toggle…
lenadax Jul 8, 2025
2b6097d
fix tests
lenadax Jul 8, 2025
c24dd38
Bump version
rnixx Sep 22, 2025
afc5511
Update translations
lenadax Oct 7, 2025
ec06eb3
Merge branch 'multi-sidebar' of github.com:conestack/cone.app into mu…
lenadax Oct 7, 2025
d10a3d7
update package.json
lenadax Oct 17, 2025
c704d8f
add is_card flag to ContentForm
lenadax Oct 21, 2025
f813de9
Merge pull request #39 from conestack/multi-sidebar
rnixx Oct 23, 2025
5fea737
remove headline from settingsform
lenadax Oct 27, 2025
292776f
allow ordering of contextmenu toolbar items
lenadax Oct 27, 2025
ead3732
add action_download
lenadax Oct 27, 2025
0483257
add option to override batched items title
lenadax Oct 31, 2025
69e8d41
resolve merge conflicts
lenadax Nov 7, 2025
3490f7c
add hatch-fancy-pypi-readme
lenadax Nov 11, 2025
1e1e58c
remove obsolete lines in pyproject.toml
lenadax Nov 13, 2025
a7a527f
Merge branch 'master' into refactor-package-layout-bs5
rnixx Dec 1, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,15 @@ jobs:
- uses: actions/setup-python@v4
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18 # minimum required for dependencies

- run: npm install -g @mermaid-js/mermaid-cli

- name: Corepack
run: |
npm install --global corepack@latest
corepack enable

- name: Install Project
run: make install

Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,18 @@
/constraints-mxdev.txt
/coverage/
/dist/
/docs/Makefile
/docs/cone.app.zip
/docs/doctrees/
/docs/html/
/docs/latex/
/docs/make.bat
/docs/Makefile
/htmlcov/
/js/karma/
/node_modules/
/package-lock.json
/pip-selfcheck.json
/pnpm-lock.yaml
/pyvenv.cfg
/requirements-mxdev.txt
/sources/
Expand Down
14 changes: 14 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
Changes
=======

2.0a1 (unreleased)
------------------

- Cleanup js widgets to prevent DOM memory leaks.
[lenadax]

- Remove no longer used ``content_grid_width`` and ``sidebar_left_grid_width``
properties from ``ILayoutConfig``.
[rnix]

- Run tests on bootstrap5 factory theme.
[lenadax]


1.1.0 (unreleased)
------------------

Expand Down
107 changes: 73 additions & 34 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@
#: docs.sphinx
#: i18n.gettext
#: i18n.lingua
#: js.karma
#: js.nodejs
#: js.rollup
#: js.scss
#: js.wtr
#: qa.coverage
#: qa.ruff
#: qa.test
#
# SETTINGS (ALL CHANGES MADE BELOW SETTINGS WILL BE LOST)
Expand All @@ -32,7 +33,7 @@ RUN_TARGET?=

# Additional files and folders to remove when running clean target
# No default value.
CLEAN_FS?=
CLEAN_FS?=pnpm-lock.yaml

# Optional makefile to include before default targets. This can
# be used to provide custom targets or hook up to existing targets.
Expand All @@ -45,20 +46,19 @@ INCLUDE_MAKEFILE?=include.mk
# No default value.
EXTRA_PATH?=

## js.nodejs

# The package manager to use. Defaults to `npm`. Possible values
# are `npm` and `pnpm`
# Default: npm
NODEJS_PACKAGE_MANAGER?=pnpm
# Path to Python project relative to Makefile (repository root).
# Leave empty if Python project is in the same directory as Makefile.
# For monorepo setups, set to subdirectory name (e.g., `backend`).
# Future-proofed for multi-language monorepos (e.g., PROJECT_PATH_NODEJS).
# No default value.
PROJECT_PATH_PYTHON?=

## js.nodejs

# The package manager to use. Defaults to `npm`. Possible values
# are `npm` and `pnpm`
# Default: npm
NODEJS_PACKAGE_MANAGER?=npm

# Value for `--prefix` option when installing packages.
# Default: .
NODEJS_PREFIX?=.
Expand All @@ -84,6 +84,16 @@ NODEJS_OPT_PACKAGES?=
# No default value.
NODEJS_INSTALL_OPTS?=

## js.wtr

# Web test runner config file.
# Default: wtr.config.mjs
WTR_CONFIG?=js/wtr.config.mjs

# Web test runner additional command line options.
# Default: --coverage
WTR_OPTIONS?=--coverage

## js.scss

# The SCSS root source file.
Expand All @@ -108,16 +118,6 @@ SCSS_OPTIONS?=--no-source-map=none
# Default: rollup.conf.js
ROLLUP_CONFIG?=js/rollup.conf.js

## js.karma

# Karma config file.
# Default: karma.conf.js
KARMA_CONFIG?=js/karma.conf.js

# Karma additional command line options.
# Default: --single-run
KARMA_OPTIONS?=--single-run

## core.mxenv

# Primary Python interpreter to use. It is used to create the
Expand Down Expand Up @@ -174,6 +174,12 @@ MXDEV?=mxdev
# Default: mxmake
MXMAKE?=mxmake

## qa.ruff

# Source folder to scan for Python files to run ruff on.
# Default: src
RUFF_SRC?=src

## docs.sphinx

# Documentation source folder.
Expand Down Expand Up @@ -343,6 +349,18 @@ INSTALL_TARGETS+=nodejs
DIRTY_TARGETS+=nodejs-dirty
CLEAN_TARGETS+=nodejs-clean

##############################################################################
# web test runner
##############################################################################

NODEJS_DEV_PACKAGES+=\
@web/test-runner \
@web/dev-server-import-maps

.PHONY: wtr
wtr: $(NODEJS_TARGET)
@web-test-runner $(WTR_OPTIONS) --config $(WTR_CONFIG)

##############################################################################
# scss
##############################################################################
Expand All @@ -367,25 +385,11 @@ NODEJS_DEV_PACKAGES+=\
rollup: $(NODEJS_TARGET)
@rollup --config $(ROLLUP_CONFIG)

##############################################################################
# karma
##############################################################################

NODEJS_DEV_PACKAGES+=\
karma \
karma-coverage \
karma-chrome-launcher \
karma-module-resolver-preprocessor

.PHONY: karma
karma: $(NODEJS_TARGET)
@karma start $(KARMA_CONFIG) $(KARMA_OPTIONS)

##############################################################################
# mxenv
##############################################################################

OS?=
export OS:=$(OS)

# Determine the executable path
ifeq ("$(VENV_ENABLED)", "true")
Expand Down Expand Up @@ -500,6 +504,41 @@ INSTALL_TARGETS+=mxenv
DIRTY_TARGETS+=mxenv-dirty
CLEAN_TARGETS+=mxenv-clean

##############################################################################
# ruff
##############################################################################

RUFF_TARGET:=$(SENTINEL_FOLDER)/ruff.sentinel
$(RUFF_TARGET): $(MXENV_TARGET)
@echo "Install Ruff"
@$(PYTHON_PACKAGE_COMMAND) install ruff
@touch $(RUFF_TARGET)

.PHONY: ruff-check
ruff-check: $(RUFF_TARGET)
@echo "Run ruff check"
@ruff check $(RUFF_SRC)

.PHONY: ruff-format
ruff-format: $(RUFF_TARGET)
@echo "Run ruff format"
@ruff format $(RUFF_SRC)

.PHONY: ruff-dirty
ruff-dirty:
@rm -f $(RUFF_TARGET)

.PHONY: ruff-clean
ruff-clean: ruff-dirty
@test -e $(MXENV_PYTHON) && $(MXENV_PYTHON) -m pip uninstall -y ruff || :
@rm -rf .ruff_cache

INSTALL_TARGETS+=$(RUFF_TARGET)
CHECK_TARGETS+=ruff-check
FORMAT_TARGETS+=ruff-format
DIRTY_TARGETS+=ruff-dirty
CLEAN_TARGETS+=ruff-clean

##############################################################################
# sphinx
##############################################################################
Expand Down
8 changes: 8 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ The sources are in a GIT DVCS with its main branches at
`github <http://github.com/conestack/cone.app>`_.


Third Party Resources
=====================

- https://github.com/jquery/jquery
- https://github.com/twbs/bootstrap
- https://github.com/HatScripts/circle-flags


Copyright
=========

Expand Down
74 changes: 12 additions & 62 deletions TODO.rst
Original file line number Diff line number Diff line change
@@ -1,65 +1,15 @@
====
TODO
====

Docs
====

- Document expected permissions for tiles and actions
- Create writing tests documenatation
- Create twisted integration documentation
- Create websocket integration documentation
- Create tutorial extending ``cone.example``
- Proper cross linking all over the place
- Add proper API docs to code and include in docs.
- Update javascript development docs (treibstoff/rollup)

Upcoming
========

- Treibstoff migration docs.
- Treibtroff AjaxOverlay docs.
- Context bound toolbar and action (named utilities?).
- Layout property for excluding entire navbar.
- Reference blueprint -> use lookup function also for single value references
if present.
- Consolidate "Unauthorized" and "Insufficient Privileges" tiles.
- Check ``title`` of transition names before using ``name`` in workflow
dropdown.
- Bind sharing view to ``cone.app.interfaces.IPrincipalACL``.
- Fix ACL registry lookup. First check by cls and node info name, then by
class only and finally return default.
- CopySupport is used both for marking containers supporting cut/copy/paste
and objects being copyable. Make dedicated interface/mechanism for marking
objects copyable.
- Add template for creating ``cone.app`` plugins.
- Overhaul plugin entry hooks staying closer to pyramid if possible.
- Pyramid request wrapper for autobahn websocket requests to enable proper
security integration.
- ``cone.tile.Tile`` should point to template at ``template`` instead of
``path``.
- Use ``BatchedItems`` as base for ``Table``.
- Rename ``cone.app.browser.batch.Batch`` to
``cone.app.browser.batch.Pagination`` providing B/C.
- Provide a ``form_action`` property on ``cone.app.browser.form.Form``
considering ``action_resource`` attribute. Consolidate with
``cone.app.browser.Form.YAMLForm.form_action``.
- Test ``cone.app.browser.actions.DropdownAction`` with BS3.
- ``cone.app.browser.copysupport#124``: trigger ``contextchanged`` on
``#layout`` instead of ``.contextsensitiv``.
- Get rid of remaining ``contextsensitiv`` CSS class related bdajax
bindings and remove ``contextsensitiv`` CSS class entirly from markup and
tests.
- Consolidate ``cone.app.model.AppSettings.__acl__```and
``cone.app.security.DEFAULT_SETTINGS_ACL`` which is not used yet in
``cone.app``.
- Fix lookup in ACL registry. First node by class or base class and node
info name if given, Then by class or base class only if not found, then
by node info name only if no class given at lookup. Or so...
- Create and use constants for all default roles and permissions.
- Adopt livesearch JS intergration to provide hooks for passing typeahead
options and datasets instead of just datasets.
- Sharing tile table sorting by principal title instead of principal id
- Bind navtree to ``list`` permission?
- Update jQuery.
- Update bootstrap.
- Upgrade pyramid to 2.0 for python 3.12 and higher. This is necessary because pyramid 1.9.4
depends on the imp module, which has been removed since python 3.12.
- Main menu display children.
- Custom root node in example.
- Referencebrowser widget.
- Treibstoff styles.
- Yafowil bootstrap 5 styles.
- Yafowil addon widgets.
- SCSS splitting.
- Reduce CSS class noise and add some custom rules to SCSS files.
- Check if we can retrieve Bootstrap sources other than including in this repo
for development.
3 changes: 1 addition & 2 deletions docs/source/layout.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ one or more model classes with ``cone.app.layout_config`` decorator.
self.columns_fluid = False
self.pathbar = True
self.sidebar_left = ['navtree']
self.sidebar_left_grid_width = 3
self.content_grid_width = 9
self.sidebar_right = ['my_tile']

Provided layout settings:

Expand Down
10 changes: 5 additions & 5 deletions docs/source/widgets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ Furthermore it's possible to register a view action for the contextmenu's
interface=ExamplePlugin,
permission='view',
text='Details',
icon='glyphicons glyphicons-magic')
icon='bi bi-magic')
class DetailsContentTile(Tile):
"""For this class a pyramid view is registered which is reachable
under 'http://domain.com/path/to/node/details'. This view renders
Expand Down Expand Up @@ -1083,8 +1083,8 @@ More customization options on ``BatchedItems`` class:
- **show_title**: Flag whether to show title in the listing header. Defaults
to ``True``.

- **title_css**: CSS classes to set on title container DOM element. Defaults
to ``col-xs-4``. Can be used to change the size of the title area.
- **title_css**: CSS classes to set on title container DOM element.
Can be used to change the size of the title area.

- **default_slice_size**: Default number of items displayed in slice. Defaults
to ``15``.
Expand All @@ -1095,14 +1095,14 @@ More customization options on ``BatchedItems`` class:
listing header. Defaults to ``True``.

- **slice_size_css**: CSS classes to set on slice size selection container DOM
element. Defaults to ``col-xs-4 col-sm3``. Can be used to change the size
element. Can be used to change the size
of the slice size selection.

- **show_filter**: Flag whether to display the search filter input in listing
header. Defaults to ``True``.

- **filter_css**: CSS classes to set on search filter input container DOM
element. Defaults to ``col-xs-3``. Can be used to change the size
Can be used to change the size
of the search filter input.

- **head_additional**: Additional arbitrary markup rendered in listing header.
Expand Down
12 changes: 0 additions & 12 deletions examples/cone.example/.gitignore

This file was deleted.

Loading
Loading