Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
192 commits
Select commit Hold shift + click to select a range
b5d9e43
docs: Add the content of Fork & branch processing
LeoLuosifen Aug 19, 2025
852e350
Add Code style and Testing
Sallie00 Aug 19, 2025
f9a72d0
docs: Add the "Pull Request Regulation" part.
ziqi0067 Aug 19, 2025
9143a2c
docs: Fixed the "pip" to "pipenv".
ziqi0067 Aug 19, 2025
560ceed
docs: Fixed the content of the Pull Request Regulation format
LeoLuosifen Aug 19, 2025
88dedfe
docs(contributing): update introduction section of How to contribute …
FengW01 Aug 20, 2025
3921e57
Merge remote-tracking branch 'origin/yluo0664' into fwan
FengW01 Aug 20, 2025
2fa3a60
docs(contributing): update introduction section of How to contribute …
FengW01 Aug 20, 2025
48edb0e
docs: update contributing guide
FengW01 Aug 20, 2025
730e00a
docs: A strategy module has been added to the Pull Request section, a…
ziqi0067 Aug 20, 2025
79db946
feat: add Global Column Names class to replace string
LeoLuosifen Aug 23, 2025
01e95a6
code sanisitation(First version)
Aug 23, 2025
cfe0068
Merge branch 'ltc' into yluo0664
LeoLuosifen Aug 23, 2025
0b20c6a
fix: updated the comment
LeoLuosifen Aug 23, 2025
84bb3ed
code sanisitation(Version 2)
Aug 23, 2025
825febb
fix: replaced the string that using Class ColNames
LeoLuosifen Aug 23, 2025
b4a31da
fix: replaced the string that using Class ColNames in natural_ventila…
LeoLuosifen Aug 23, 2025
d2f4139
fix: replaced the string that using Class ColNames in extract_df.py a…
LeoLuosifen Aug 23, 2025
9b3ccac
docs: update pull request regulation of contributing.md
Sallie00 Aug 23, 2025
38e4da1
fix: replaced the string that using Class ColNames in wind.py and cha…
Sallie00 Aug 23, 2025
8138218
fix: replaced the string that using Class ColNames in charts_sun.py
LeoLuosifen Aug 23, 2025
2ab0f0c
fix: replaced the string that using Class ColNames in utils.py and ps…
Sallie00 Aug 23, 2025
be943a6
fix: Updated ElementIds of global_column_names.py
Kira-Liu00 Aug 23, 2025
2452ebe
fix: delete components.py
Sallie00 Aug 23, 2025
33f4865
Fix:Updated the ElementIDs of the explorer.py and global_column_names.py
ziqi0067 Aug 23, 2025
cf56585
fix: Updated ElementIds of the psy-chart and global _column _names.py
Kira-Liu00 Aug 23, 2025
bd4aced
Merge origin/Ziqi into Kira_Liu: take theirs for global_column_names.py
Kira-Liu00 Aug 23, 2025
2b82d79
Fix: Updated the ElementIds of global_column_names.py
Kira-Liu00 Aug 23, 2025
34f1ad3
Fix:Updated the ElementIDs of the explorer.py, global_column_names.py…
ziqi0067 Aug 23, 2025
d62aa83
Merge remote-tracking branch 'origin/Ziqi' into Kira_Liu
Kira-Liu00 Aug 24, 2025
85d45a0
fix: Updated the ElementIds of outdoor.py, psy-chart.py, global_colum…
Kira-Liu00 Aug 24, 2025
1e1cccf
Fix: update the sun.py, wind.py and global_column_names.py
FengW01 Aug 24, 2025
da93f7f
Fix:
Aug 24, 2025
01f4045
Fix:Align development branch versions to avoid conflicts
Aug 24, 2025
7828453
fix: aligned development branch versions of 3 days ago to avoid confl…
LeoLuosifen Aug 24, 2025
c7f11c4
fix: updated new column names
LeoLuosifen Aug 24, 2025
a6acb0b
fix: replaced the string with new column names
LeoLuosifen Aug 24, 2025
e85bfe1
fix: renamed the python file of global_element_ids.py
LeoLuosifen Aug 24, 2025
2dd992c
fix: resolved the format to avoid conflict
LeoLuosifen Aug 24, 2025
2381e85
Fix: updated the file global_element_ids.py and summary.py
Aug 24, 2025
f822cca
fix: replaced the string with global constants
LeoLuosifen Aug 25, 2025
0aeeb25
fix: resolved the conflict issues
LeoLuosifen Aug 25, 2025
9aee692
fix: resolved the conflict issues for three md documentations
LeoLuosifen Aug 25, 2025
5cc9259
fix: resolved the conflict issues with global-diffuse-and-normal-sola…
LeoLuosifen Aug 25, 2025
54ce1d8
fix: formatted the code style via using Black in global_column_names.py
LeoLuosifen Aug 25, 2025
a8c6d1d
Fix: updated the ElementIds in file wind
Aug 26, 2025
cf63851
fix: replaced the string that using Class ColNames in charts_sun.py a…
Sallie00 Aug 26, 2025
373b44c
Fix:Update the elements of global_column_names.py and charts_sun.py.
ziqi0067 Aug 26, 2025
f03a6ed
Fix: Update the column name in file charts_data_explorer.py
Aug 26, 2025
722caca
Fix: Update the column name in file extract_df.py anad global_column_…
Aug 26, 2025
73b2f8a
Fix:Update the elements of template_graphs.py.
ziqi0067 Aug 26, 2025
b8568e3
Fix: Update the column name in file global_scheme.py and psy-chart.py
Aug 26, 2025
6adf2fc
Fix:Update the elements of global_scheme.py, natural_ventilation.py, …
ziqi0067 Aug 27, 2025
dceb856
Fix: Update the column name in file global_scheme.py
Aug 27, 2025
2bd7885
Merge branch 'Ziqi' into wlyu
Sallie00 Aug 27, 2025
c62a333
Merge remote-tracking branch 'refs/remotes/origin/Ziqi' into ltc
Aug 27, 2025
a75124e
fix: replaced the string that using Class ColNames in utils.py and su…
Sallie00 Aug 27, 2025
6104374
Merge remote-tracking branch 'refs/remotes/origin/wlyu' into ltc
Aug 27, 2025
7c43d2a
Fix: Update the column name in file global_column_names.py, layout.py…
Aug 27, 2025
49d12c9
fix: replaced the string with the constants
LeoLuosifen Aug 27, 2025
80a57f0
Merge branch 'development' into yluo0664
LeoLuosifen Aug 27, 2025
81b2ec8
fix: replaced the string with the constants in outdoor.py
LeoLuosifen Aug 27, 2025
f3dca83
style: ruff format
FedericoTartarini Aug 28, 2025
02cd0ad
fix(layout): Correct label text for yearly chart
FedericoTartarini Aug 28, 2025
97fbd56
fix: updated the mistake for using constant
LeoLuosifen Aug 28, 2025
0c5ff18
feat(global): Add seasonal wind rose document ID
FedericoTartarini Aug 28, 2025
dc32db9
Merge remote-tracking branch 'LeoLuosifen/yluo0664' into fork/LeoLuos…
FedericoTartarini Aug 28, 2025
f62dfb4
Fix: Add a new file called global_id_buttons.py
Aug 29, 2025
fefca19
Merge branch 'yluo0664' into ltc
Aug 29, 2025
2706875
Merge branch 'ltc' into yluo0664
LeoLuosifen Aug 29, 2025
530037b
fix(layout): fixed the class name to avoid can not load Normalize dat…
LeoLuosifen Aug 29, 2025
189dbad
Merge branch 'yluo0664' into ltc
Aug 29, 2025
cf6ded0
fix: replaced the string that using Class IdButtons in explorer.py, n…
Sallie00 Aug 29, 2025
a23786d
Merge branch 'wlyu' into ltc
Aug 29, 2025
01d2a85
Fix: Updated ids of files global_element_ids.py,layout.py,main.py,sel…
Aug 29, 2025
d5eda1e
fix: fixed code sanitisation
LeoLuosifen Aug 30, 2025
965a537
fix: fixed the id_button aligned with IdButtons.* and aligned var/fil…
LeoLuosifen Aug 30, 2025
d5223c8
fix(data): Replace string references with ColNames for wind speed
FedericoTartarini Sep 1, 2025
54d6016
fix(layout): Correct capitalization of yearly chart label
FedericoTartarini Sep 1, 2025
795199f
Merge pull request #240 from LeoLuosifen/yluo0664
FedericoTartarini Sep 1, 2025
9a6d93b
Refactor: unify UTCI calculations in extract_df.py and add time_filte…
FengW01 Sep 2, 2025
edb73df
Refactor: extract reusable functions for temperature conversion, defa…
Sallie00 Sep 2, 2025
2be6e2d
style: format code using ruff
Sallie00 Sep 2, 2025
f7edaf3
docs: remove duplicated code style section in contributing.md
Sallie00 Sep 2, 2025
1c55ec7
refactor: Rename functions and add docstrings/type hints for clarity
Sallie00 Sep 3, 2025
d373c5e
refactor: Add convert_t_to_f as alias to temperature with docstring
Sallie00 Sep 3, 2025
6570dc7
deps: restore dev dependencies in Pipfile
Sallie00 Sep 4, 2025
a6460a6
refactor: add type annotations to utility functions
Sallie00 Sep 4, 2025
eaa2eb3
deps: fix dev dependencies in Pipfile.lock
Sallie00 Sep 5, 2025
78daff4
Merge pull request #243 from LeoLuosifen/wlyu
FedericoTartarini Sep 5, 2025
883e3c7
refactor: replace strings using Class ColNames in global_scheme.py
Sallie00 Sep 6, 2025
4f6421e
refactor: remove globals-based conversion map and implement convert_S…
Sallie00 Sep 6, 2025
bf149b0
refactor: apply CodeRabbit suggestions to simplify convert_data logic
Sallie00 Sep 8, 2025
aaca5ab
refactor: simplify unit conversion logic and add fallback handling
Sallie00 Sep 9, 2025
f54cde2
Merge pull request #244 from LeoLuosifen/wlyu
FedericoTartarini Sep 9, 2025
7a7f311
refactor(layout): move tabs links to collapsible sidebar using dash-m…
LeoLuosifen Sep 10, 2025
ac8e71a
style: formatted the code via using ruff and black.
LeoLuosifen Sep 10, 2025
7e4b497
fix: fixed the comment
LeoLuosifen Sep 10, 2025
9ab10df
fix: re-formatted the file via using ruff
LeoLuosifen Sep 10, 2025
dd35663
refactor: remove unnecessary CSS/HTML
LeoLuosifen Sep 12, 2025
2539f52
add: created a new class file to store icon value
LeoLuosifen Sep 12, 2025
6d7a4aa
fix: removed all html and dash bootstrap via using dash mantine compo…
LeoLuosifen Sep 14, 2025
316c881
fix: fixed the components that ensured cypress testing could be passed
LeoLuosifen Sep 15, 2025
682cea4
refactor: used AppShell in Dash Mantine to manage the whole layout
yluo0664 Sep 17, 2025
5ca3b07
fix: removed the styles in the function show_alert_after_delay while …
yluo0664 Sep 17, 2025
b6009c1
fix: removed the unnecessary style and optimized spacing
yluo0664 Sep 23, 2025
56cad46
style(layout): Simplify children structure in ScrollArea
FedericoTartarini Sep 26, 2025
773bf25
style(select): Refactor layout to use Stack component
FedericoTartarini Sep 26, 2025
cc3c63b
refactor(layout): Simplify layout structure in summary and template g…
FedericoTartarini Sep 26, 2025
0807032
style(utils): Remove unnecessary margin and padding in tooltip functions
FedericoTartarini Sep 26, 2025
23eaa74
refactor(layout): Replace Container with Stack for layout consistency
FedericoTartarini Sep 26, 2025
178f062
refactor(layout): Move layout function to improve structure
FedericoTartarini Sep 26, 2025
fd6ede8
refactor(layout): Update loading component structure
FedericoTartarini Sep 26, 2025
25131f7
refactor(layout): Replace Box with Stack for tab six layout
FedericoTartarini Sep 26, 2025
8c873bc
feat(css): remove tabs.css
FedericoTartarini Sep 26, 2025
0684fc4
refactor(viz): Remove y-axis range setting hhd and ccd
FedericoTartarini Sep 26, 2025
93198f1
refactor(ui): Remove inline styles from dropdown components
FedericoTartarini Sep 26, 2025
0ce3365
refactor(explorer): Clean up section one layout code
FedericoTartarini Sep 26, 2025
60214b6
Merge pull request #246 from LeoLuosifen/yluo0664
FedericoTartarini Sep 26, 2025
ec84418
refactor: unify ColNames and mapping_dictionary into VariableInfo (fi…
Sallie00 Sep 29, 2025
430f5c2
Merge pull request #253 from LeoLuosifen/wlyu
FedericoTartarini Oct 7, 2025
7f1b380
fix: implement fixed heatmap legend range for issue #224
Kira-Liu00 Oct 8, 2025
c562e2f
fix: remove the unused function
Kira-Liu00 Oct 9, 2025
e46d762
fix: format code to pass ruff test.
Sallie00 Oct 14, 2025
adc5764
Merge pull request #255 from LeoLuosifen/Kira_Liu
FedericoTartarini Oct 14, 2025
176ca08
chore(a11y): update color schemes for color-blind assessment #110
FengW01 Oct 15, 2025
cb79f39
chore(a11y): update color schemes for color-blind assessment #110
FengW01 Oct 15, 2025
1e502cd
fix(color): unify wind speed color scale across all charts
FengW01 Oct 20, 2025
b4a51cb
chore(deps): add colorcet to Pipfile; refactor(global_variables): rem…
FengW01 Oct 22, 2025
e8eebac
Remove redundancy
FengW01 Oct 22, 2025
f45b6a0
refactor(colors): consolidate shared palettes & unit conversions into…
FengW01 Oct 24, 2025
077d18c
refactor(global_variables): rename Common to ColorPalettes and update…
FedericoTartarini Oct 27, 2025
b485898
chore(Dockerfile): enhance image setup with pipenv and improve logging
FedericoTartarini Oct 27, 2025
4f9a69b
lint(global_variables): ruff format
FedericoTartarini Oct 27, 2025
fb9de71
Merge pull request #256 from LeoLuosifen/fwan
FedericoTartarini Oct 27, 2025
3226d4e
feat: Move the Apply filter of Month and Hour to the sidebar
yluo0664 Oct 27, 2025
bde8f30
fix: updated the documentation of Contributor, Code Style ,and Pull R…
yluo0664 Oct 27, 2025
18a0361
fix: deleted unnecessary style in css files。
yluo0664 Oct 27, 2025
a4742e8
fix: formatted the code.
yluo0664 Oct 27, 2025
414439b
fix: formatted the code with removing unused parameters.
yluo0664 Oct 27, 2025
e771549
fix: fixed the errors in the documentation.
yluo0664 Oct 28, 2025
b26891b
test: add Playwright end-to-end tests for all pages and delete Cypres…
Sallie00 Oct 28, 2025
eb7efb1
feat: fix github workflow.
Sallie00 Oct 28, 2025
f1a5019
fix: update GitHub workflow
Sallie00 Oct 28, 2025
5e41bef
fix: update GitHub workflow (install browsers)
Sallie00 Oct 28, 2025
cffcdf2
fix: fixed the errors Temperature page that can not show Relative hum…
yluo0664 Oct 28, 2025
8b2b958
fix: update GitHub workflow (install browsers)
Sallie00 Oct 28, 2025
3854dc7
Merge branch 'yluo0664' into wlyu
Sallie00 Oct 28, 2025
6cec562
fix: update GitHub workflow (install browsers)
Sallie00 Oct 28, 2025
aceb048
fix: update test_explorer.py based on the review provided by coderabbit
Sallie00 Oct 28, 2025
98e008c
feat: removed css and unused IDs
FedericoTartarini Oct 29, 2025
4dce09a
docs: update contributing guidelines to include pipenv installation a…
FedericoTartarini Oct 29, 2025
1597f90
refactor(layout): simplify month and hour filter components structure
FedericoTartarini Oct 29, 2025
c7a1ef7
refactor(outdoor): simplify inputs_outdoor_comfort layout and improve…
FedericoTartarini Oct 29, 2025
6d1d489
fix: fixed the potential issues
yluo0664 Oct 30, 2025
7afef7a
fix: fixed the Stack issues, replaced SimpleGrid with Gird
yluo0664 Oct 30, 2025
5d21c9b
refactor: improve layout and structure of input components in natural…
FedericoTartarini Nov 3, 2025
9f5db0e
refactor: replace dcc.Loading with dmc.Skeleton for improved loading …
FedericoTartarini Nov 4, 2025
7ad631e
Merge pull request #260 from LeoLuosifen/yluo0664
FedericoTartarini Nov 4, 2025
debc41a
Bump version: 0.9.0 → 0.10.0
FedericoTartarini Nov 4, 2025
abc75b1
Merge branch 'development' into wlyu
Sallie00 Nov 4, 2025
8a3e409
refactor: update Dockerfile and documentation for improved local deve…
FedericoTartarini Nov 4, 2025
0c15ee5
refactor: update contributing guidelines and enhance Pipfile dependen…
FedericoTartarini Nov 4, 2025
74be7a9
fix: update pipfile and fix natural_ventilation.py
Sallie00 Nov 4, 2025
c69355c
Merge remote-tracking branch 'origin/wlyu' into wlyu
Sallie00 Nov 4, 2025
29aaf2c
Merge branch 'development' into wlyu
Sallie00 Nov 4, 2025
fd4117e
fix: recover Pipfile & Pipfile.lock and update README.md
Sallie00 Nov 4, 2025
bf5a558
Merge pull request #261 from LeoLuosifen/wlyu
FedericoTartarini Nov 4, 2025
b77e800
refactor: enhance pytest command with verbosity and parallel execution
FedericoTartarini Nov 4, 2025
2971f96
refactor: enhance pytest command with verbosity and parallel execution
FedericoTartarini Nov 4, 2025
6a79f57
refactor(tests): optimize Playwright tests for faster execution
Sallie00 Nov 4, 2025
bc569c2
fix: fixed some issues provided
LeoLuosifen Nov 5, 2025
0355b30
fix: formatted the code.
LeoLuosifen Nov 5, 2025
f9465e6
Merge pull request #263 from LeoLuosifen/wlyu
FedericoTartarini Nov 6, 2025
6a385a9
refactor(layout): update filter section labels and improve button pla…
FedericoTartarini Nov 6, 2025
dfc4664
Merge pull request #264 from LeoLuosifen/yluo0664
FedericoTartarini Nov 6, 2025
b4c2c4e
refactor(global_variables): replace color palette with cyclical color…
FedericoTartarini Nov 6, 2025
0273837
fix(test): fix test_summary.py
Sallie00 Nov 6, 2025
15bd462
feat: updated that most of the charts can be grey fill
LeoLuosifen Nov 6, 2025
bcf5f75
fix: fixed test file and updated the psy-chart
LeoLuosifen Nov 6, 2025
9cd58ab
fix: updated the python.yml that does not need to test in all branches
LeoLuosifen Nov 6, 2025
7136189
fix: fixed the chart's show and optimized code.
LeoLuosifen Nov 6, 2025
7c879ab
fix: optimized the duplicated code
LeoLuosifen Nov 6, 2025
7cd5b5d
fix: optimize test execution by enabling parallel processing
FedericoTartarini Nov 7, 2025
d29a519
fix: test run 2 in parallel
FedericoTartarini Nov 7, 2025
2733c2f
fix: increase test parallelism and add readiness check for Clima
FedericoTartarini Nov 7, 2025
378f67b
fix: remove parallel processing from Clima test execution
FedericoTartarini Nov 7, 2025
514a2a2
Merge pull request #265 from LeoLuosifen/yluo0664
FedericoTartarini Nov 7, 2025
c55bb32
fix: coderabbit fixes
FedericoTartarini Nov 7, 2025
bca6dbb
refactor: update element IDs to shared constants for consistency
FedericoTartarini Nov 7, 2025
5862470
Bump version: 0.10.0 → 0.10.1
FedericoTartarini Nov 11, 2025
fa50cff
fix: update expected temperature and elevation values in test summary
FedericoTartarini Nov 11, 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
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.9.0
current_version = 0.10.1
commit = True
tag = True

Expand Down
2 changes: 0 additions & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ README.md
LICENSE
Procfile
Procfile.windows
Pipfile.lock
Pipfile
*.pyo
*.pyd
__pycache__
Expand Down
58 changes: 0 additions & 58 deletions .github/workflows/cypress.yml

This file was deleted.

15 changes: 14 additions & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,19 @@ jobs:
run: |-
pipenv run ruff format --check .

- name: Install Playwright Browsers
run: |
pipenv run playwright install chromium

- name: Start Clima
run: |-
pipenv run python main.py &

- name: Wait for Clima to be ready
run: |
timeout 60 bash -c 'until curl -f http://127.0.0.1:8080; do sleep 1; done'

- name: Test Clima
run: |-
pipenv run python -m pytest
cd tests
pipenv run pytest --base-url=http://127.0.0.1:8080 -vv
27 changes: 18 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,28 @@
# https://hub.docker.com/_/python
FROM python:3.11-slim

# Allow statements and log messages to immediately appear in the Knative logs
ENV PYTHONUNBUFFERED=True

RUN apt-get update \
&& apt-get install gcc -y \
&& apt-get clean
&& apt-get install --no-install-recommends -y gcc \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

# Install pipenv
RUN python -m pip install --upgrade pip \
&& python -m pip install --no-cache-dir "pipenv>=2024.0,<2026.0"
# Set working directory
WORKDIR /app

ENV APP_HOME /app
WORKDIR $APP_HOME
# Copy Pipfile and Pipfile.lock
COPY Pipfile Pipfile.lock ./

COPY . ./
# Install dependencies
RUN pipenv sync

# Install production dependencies.
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
COPY . .

EXPOSE 8080

CMD python main.py
CMD ["pipenv", "run", "python", "main.py"]
6 changes: 4 additions & 2 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ verify_ssl = true
name = "pypi"

[packages]
dash = "==2.15"
dash = "==3.2"
pvlib = "==0.9.1"
pythermalcomfort = "==2.9.1"
dash-bootstrap-components = "==1.2.0"
dash-extensions = "==1.0.7"
dash-mantine-components = "==0.12.1"
dash-mantine-components = "==2.2.1"
requests = "==2.32.4"
plotly = "==5.18.0"
pandas = "==2.2.0"
Expand All @@ -24,6 +24,8 @@ bump2version = "*"
black = "*"
ruff = "*"
pre-commit = "*"
pytest-playwright = "*"
pytest-xdist = "*"

[requires]
python_version = "3.11"
569 changes: 436 additions & 133 deletions Pipfile.lock

Large diffs are not rendered by default.

19 changes: 0 additions & 19 deletions assets/banner.css

This file was deleted.

5 changes: 0 additions & 5 deletions assets/construction.css

This file was deleted.

5 changes: 0 additions & 5 deletions assets/fonts.css

This file was deleted.

18 changes: 0 additions & 18 deletions assets/footer.css

This file was deleted.

32 changes: 0 additions & 32 deletions assets/layout.css

This file was deleted.

2 changes: 1 addition & 1 deletion assets/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@
"orientation": "portrait",
"background_color": "#ffffff",
"display": "standalone",
"id": "0.9.0",
"id": "0.10.1",
"description": "CBE Clima Tool: a free and open-source web application for climate analysis tailored to sustainable building design",
"start_url": "/",
"scope": "/",
Expand Down
Loading