Skip to content

2.0 - Bootstrap 5, UI modernizing #36

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 158 commits into
base: 1.1
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
158 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
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
28 changes: 20 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,30 @@ jobs:
fail-fast: false
matrix:
python:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
# - "3.12"
# - "3.13"

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install Project
run: make install
- name: Set Up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}

- name: Run Tests
run: make test
- name: Check Python Version
run: python --version

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

- name: Install Project
run: pnpm install

- name: Run Tests
run: make test
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,22 @@
/.pydevproject.bak
/.settings/
/.vscode/
/build/
/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
16 changes: 15 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,24 @@
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.1rc2 (unreleased)
-------------------

- Nothing changed yet.
- No changes yet.


1.1rc1 (2024-05-23)
Expand Down
Loading
Loading