tui-trello 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (117) hide show
  1. tui_trello-0.1.0/.github/ISSUE_TEMPLATE/bug_report.yml +70 -0
  2. tui_trello-0.1.0/.github/ISSUE_TEMPLATE/config.yml +5 -0
  3. tui_trello-0.1.0/.github/ISSUE_TEMPLATE/feature_request.yml +22 -0
  4. tui_trello-0.1.0/.github/dependabot.yml +16 -0
  5. tui_trello-0.1.0/.github/pull_request_template.md +15 -0
  6. tui_trello-0.1.0/.github/workflows/ci.yml +56 -0
  7. tui_trello-0.1.0/.github/workflows/release.yml +69 -0
  8. tui_trello-0.1.0/.gitignore +226 -0
  9. tui_trello-0.1.0/CHANGELOG.md +33 -0
  10. tui_trello-0.1.0/CODE_OF_CONDUCT.md +111 -0
  11. tui_trello-0.1.0/CONTRIBUTING.md +89 -0
  12. tui_trello-0.1.0/LICENSE +21 -0
  13. tui_trello-0.1.0/PKG-INFO +514 -0
  14. tui_trello-0.1.0/PRIVACY.md +43 -0
  15. tui_trello-0.1.0/README.md +479 -0
  16. tui_trello-0.1.0/SECURITY.md +45 -0
  17. tui_trello-0.1.0/docs/architecture.md +163 -0
  18. tui_trello-0.1.0/docs/releasing.md +49 -0
  19. tui_trello-0.1.0/docs/remote.md +43 -0
  20. tui_trello-0.1.0/docs/screenshots/arabic-browser.svg +197 -0
  21. tui_trello-0.1.0/docs/screenshots/arabic-card.svg +187 -0
  22. tui_trello-0.1.0/docs/screenshots/arabic-mywork.svg +201 -0
  23. tui_trello-0.1.0/docs/screenshots/arabic-triage.svg +187 -0
  24. tui_trello-0.1.0/docs/screenshots/browser.svg +196 -0
  25. tui_trello-0.1.0/docs/screenshots/card.svg +185 -0
  26. tui_trello-0.1.0/docs/screenshots/help.svg +193 -0
  27. tui_trello-0.1.0/docs/screenshots/labels.svg +200 -0
  28. tui_trello-0.1.0/docs/screenshots/loading.svg +182 -0
  29. tui_trello-0.1.0/docs/screenshots/move-picker.svg +198 -0
  30. tui_trello-0.1.0/docs/screenshots/mywork-nopreview.svg +192 -0
  31. tui_trello-0.1.0/docs/screenshots/mywork.svg +201 -0
  32. tui_trello-0.1.0/docs/screenshots/notifications.svg +184 -0
  33. tui_trello-0.1.0/docs/screenshots/palette.svg +186 -0
  34. tui_trello-0.1.0/docs/screenshots/triage-filter.svg +188 -0
  35. tui_trello-0.1.0/docs/screenshots/triage.svg +187 -0
  36. tui_trello-0.1.0/docs/tui-designs.md +111 -0
  37. tui_trello-0.1.0/pyproject.toml +67 -0
  38. tui_trello-0.1.0/remote/newsfeed.md +8 -0
  39. tui_trello-0.1.0/scripts/arabic_forms.py +53 -0
  40. tui_trello-0.1.0/scripts/emoji_codes.py +58 -0
  41. tui_trello-0.1.0/scripts/release_notes.py +36 -0
  42. tui_trello-0.1.0/scripts/screenshots.py +113 -0
  43. tui_trello-0.1.0/src/tui_trello/__init__.py +3 -0
  44. tui_trello-0.1.0/src/tui_trello/__main__.py +3 -0
  45. tui_trello-0.1.0/src/tui_trello/agenda.py +36 -0
  46. tui_trello-0.1.0/src/tui_trello/auth.py +308 -0
  47. tui_trello-0.1.0/src/tui_trello/backend/__init__.py +107 -0
  48. tui_trello-0.1.0/src/tui_trello/backend/demo.py +540 -0
  49. tui_trello-0.1.0/src/tui_trello/backend/trello.py +276 -0
  50. tui_trello-0.1.0/src/tui_trello/cli.py +141 -0
  51. tui_trello-0.1.0/src/tui_trello/config.py +123 -0
  52. tui_trello-0.1.0/src/tui_trello/drafts.py +105 -0
  53. tui_trello-0.1.0/src/tui_trello/emoji.py +37 -0
  54. tui_trello-0.1.0/src/tui_trello/emoji_codes.py +1998 -0
  55. tui_trello-0.1.0/src/tui_trello/files.py +9 -0
  56. tui_trello-0.1.0/src/tui_trello/links.py +56 -0
  57. tui_trello-0.1.0/src/tui_trello/mentions.py +35 -0
  58. tui_trello-0.1.0/src/tui_trello/models.py +426 -0
  59. tui_trello-0.1.0/src/tui_trello/prefs.py +69 -0
  60. tui_trello-0.1.0/src/tui_trello/query.py +64 -0
  61. tui_trello-0.1.0/src/tui_trello/quote.py +54 -0
  62. tui_trello-0.1.0/src/tui_trello/remote.py +178 -0
  63. tui_trello-0.1.0/src/tui_trello/store.py +555 -0
  64. tui_trello-0.1.0/src/tui_trello/ui/__init__.py +0 -0
  65. tui_trello-0.1.0/src/tui_trello/ui/app.py +420 -0
  66. tui_trello-0.1.0/src/tui_trello/ui/bidi.py +312 -0
  67. tui_trello-0.1.0/src/tui_trello/ui/clipboard.py +41 -0
  68. tui_trello-0.1.0/src/tui_trello/ui/commands.py +61 -0
  69. tui_trello-0.1.0/src/tui_trello/ui/desktop.py +56 -0
  70. tui_trello-0.1.0/src/tui_trello/ui/follow.py +159 -0
  71. tui_trello-0.1.0/src/tui_trello/ui/keymap.py +526 -0
  72. tui_trello-0.1.0/src/tui_trello/ui/keys_compat.py +32 -0
  73. tui_trello-0.1.0/src/tui_trello/ui/markdown.py +284 -0
  74. tui_trello-0.1.0/src/tui_trello/ui/render.py +128 -0
  75. tui_trello-0.1.0/src/tui_trello/ui/screens/__init__.py +0 -0
  76. tui_trello-0.1.0/src/tui_trello/ui/screens/base.py +581 -0
  77. tui_trello-0.1.0/src/tui_trello/ui/screens/browser.py +200 -0
  78. tui_trello-0.1.0/src/tui_trello/ui/screens/card.py +67 -0
  79. tui_trello-0.1.0/src/tui_trello/ui/screens/keys.py +168 -0
  80. tui_trello-0.1.0/src/tui_trello/ui/screens/mywork.py +194 -0
  81. tui_trello-0.1.0/src/tui_trello/ui/screens/news.py +67 -0
  82. tui_trello-0.1.0/src/tui_trello/ui/screens/notifications.py +215 -0
  83. tui_trello-0.1.0/src/tui_trello/ui/screens/picker.py +791 -0
  84. tui_trello-0.1.0/src/tui_trello/ui/screens/preview.py +209 -0
  85. tui_trello-0.1.0/src/tui_trello/ui/screens/search.py +113 -0
  86. tui_trello-0.1.0/src/tui_trello/ui/screens/triage.py +135 -0
  87. tui_trello-0.1.0/src/tui_trello/ui/tips.py +40 -0
  88. tui_trello-0.1.0/src/tui_trello/ui/widgets/__init__.py +0 -0
  89. tui_trello-0.1.0/src/tui_trello/ui/widgets/bell.py +24 -0
  90. tui_trello-0.1.0/src/tui_trello/ui/widgets/card_view.py +340 -0
  91. tui_trello-0.1.0/src/tui_trello/ui/widgets/news_badge.py +27 -0
  92. tui_trello-0.1.0/src/tui_trello/ui/widgets/spinner.py +40 -0
  93. tui_trello-0.1.0/tests/conftest.py +63 -0
  94. tui_trello-0.1.0/tests/test_agenda.py +30 -0
  95. tui_trello-0.1.0/tests/test_app.py +3474 -0
  96. tui_trello-0.1.0/tests/test_arabic_forms.py +46 -0
  97. tui_trello-0.1.0/tests/test_auth.py +248 -0
  98. tui_trello-0.1.0/tests/test_bidi.py +110 -0
  99. tui_trello-0.1.0/tests/test_cli.py +227 -0
  100. tui_trello-0.1.0/tests/test_clipboard.py +17 -0
  101. tui_trello-0.1.0/tests/test_config.py +67 -0
  102. tui_trello-0.1.0/tests/test_demo.py +31 -0
  103. tui_trello-0.1.0/tests/test_desktop.py +20 -0
  104. tui_trello-0.1.0/tests/test_drafts.py +45 -0
  105. tui_trello-0.1.0/tests/test_emoji.py +449 -0
  106. tui_trello-0.1.0/tests/test_files.py +5 -0
  107. tui_trello-0.1.0/tests/test_follow.py +252 -0
  108. tui_trello-0.1.0/tests/test_keymap.py +230 -0
  109. tui_trello-0.1.0/tests/test_links.py +60 -0
  110. tui_trello-0.1.0/tests/test_markdown.py +134 -0
  111. tui_trello-0.1.0/tests/test_mentions.py +49 -0
  112. tui_trello-0.1.0/tests/test_models.py +83 -0
  113. tui_trello-0.1.0/tests/test_query.py +40 -0
  114. tui_trello-0.1.0/tests/test_quote.py +29 -0
  115. tui_trello-0.1.0/tests/test_release.py +35 -0
  116. tui_trello-0.1.0/tests/test_remote.py +266 -0
  117. tui_trello-0.1.0/tests/test_trello_backend.py +387 -0
@@ -0,0 +1,70 @@
1
+ name: Bug report
2
+ description: Something doesn't work as it should
3
+ labels: [bug]
4
+ body:
5
+ - type: markdown
6
+ attributes:
7
+ value: |
8
+ Thanks for reporting. **Don't paste tokens or private card content.** For a security problem, use the
9
+ [security policy](https://github.com/philjnicholls/tui-trello/security/policy) instead.
10
+ - type: input
11
+ id: version
12
+ attributes:
13
+ label: tui-trello version
14
+ description: Output of `tui-trello --version`
15
+ placeholder: tui-trello 0.1.0
16
+ validations:
17
+ required: true
18
+ - type: input
19
+ id: os
20
+ attributes:
21
+ label: Operating system
22
+ placeholder: Ubuntu 24.04, macOS 15
23
+ validations:
24
+ required: true
25
+ - type: input
26
+ id: terminal
27
+ attributes:
28
+ label: Terminal
29
+ placeholder: GNOME Terminal, kitty, iTerm2
30
+ validations:
31
+ required: true
32
+ - type: input
33
+ id: python
34
+ attributes:
35
+ label: Python version
36
+ description: Output of `python --version`
37
+ validations:
38
+ required: true
39
+ - type: dropdown
40
+ id: demo
41
+ attributes:
42
+ label: Does it happen with `tui-trello --demo`?
43
+ options:
44
+ - "Yes"
45
+ - "No"
46
+ - "Haven't tried"
47
+ validations:
48
+ required: true
49
+ - type: textarea
50
+ id: steps
51
+ attributes:
52
+ label: Steps to reproduce
53
+ placeholder: |
54
+ 1. Run `tui-trello --demo`
55
+ 2. Press ...
56
+ validations:
57
+ required: true
58
+ - type: textarea
59
+ id: expected
60
+ attributes:
61
+ label: What you expected
62
+ validations:
63
+ required: true
64
+ - type: textarea
65
+ id: actual
66
+ attributes:
67
+ label: What happened
68
+ description: Include any error message or traceback.
69
+ validations:
70
+ required: true
@@ -0,0 +1,5 @@
1
+ blank_issues_enabled: false
2
+ contact_links:
3
+ - name: Report a security problem
4
+ url: https://github.com/philjnicholls/tui-trello/security/policy
5
+ about: Please don't open a public issue for a vulnerability; follow the security policy.
@@ -0,0 +1,22 @@
1
+ name: Feature request
2
+ description: Suggest an idea or an improvement
3
+ labels: [enhancement]
4
+ body:
5
+ - type: textarea
6
+ id: problem
7
+ attributes:
8
+ label: What are you trying to do?
9
+ description: The problem or the workflow, before the solution.
10
+ validations:
11
+ required: true
12
+ - type: textarea
13
+ id: idea
14
+ attributes:
15
+ label: What would you like tui-trello to do?
16
+ description: A key, a view, a command-line option. Sketches welcome.
17
+ validations:
18
+ required: true
19
+ - type: textarea
20
+ id: alternatives
21
+ attributes:
22
+ label: Alternatives you considered
@@ -0,0 +1,16 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: github-actions
4
+ directory: /
5
+ schedule:
6
+ interval: monthly
7
+ groups:
8
+ actions:
9
+ patterns: ["*"]
10
+ - package-ecosystem: pip
11
+ directory: /
12
+ schedule:
13
+ interval: monthly
14
+ groups:
15
+ python:
16
+ patterns: ["*"]
@@ -0,0 +1,15 @@
1
+ ## What and why
2
+
3
+ <!-- What does this change, and why? Link the issue it fixes, if any. -->
4
+
5
+ ## How I tested it
6
+
7
+ <!-- `venv/bin/pytest`, `venv/bin/ruff check .`, and anything you tried by hand (`tui-trello --demo`). -->
8
+
9
+ ## Checklist
10
+
11
+ - [ ] Tests added or updated, and `venv/bin/pytest` passes
12
+ - [ ] `venv/bin/ruff check .` is clean
13
+ - [ ] A line under `[Unreleased]` in `CHANGELOG.md`, if a user would notice
14
+ - [ ] The README key table and `?` help updated, if I added a key
15
+ - [ ] Screenshots regenerated (`scripts/screenshots.py`), if a view changed
@@ -0,0 +1,56 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+
8
+ concurrency:
9
+ group: ci-${{ github.ref }}
10
+ cancel-in-progress: true
11
+
12
+ permissions:
13
+ contents: read
14
+
15
+ jobs:
16
+ lint:
17
+ runs-on: ubuntu-latest
18
+ steps:
19
+ - uses: actions/checkout@v5
20
+ - uses: actions/setup-python@v6
21
+ with:
22
+ python-version: "3.12"
23
+ cache: pip
24
+ - run: pip install ruff
25
+ - run: ruff check .
26
+
27
+ test:
28
+ runs-on: ${{ matrix.os }}
29
+ strategy:
30
+ fail-fast: false
31
+ matrix:
32
+ os: [ubuntu-latest]
33
+ python-version: ["3.11", "3.12", "3.13", "3.14"]
34
+ include:
35
+ - os: macos-latest
36
+ python-version: "3.12"
37
+ steps:
38
+ - uses: actions/checkout@v5
39
+ - uses: actions/setup-python@v6
40
+ with:
41
+ python-version: ${{ matrix.python-version }}
42
+ cache: pip
43
+ - run: pip install -e '.[dev]'
44
+ - run: pytest -q
45
+
46
+ build:
47
+ runs-on: ubuntu-latest
48
+ steps:
49
+ - uses: actions/checkout@v5
50
+ - uses: actions/setup-python@v6
51
+ with:
52
+ python-version: "3.12"
53
+ cache: pip
54
+ - run: pip install build twine
55
+ - run: python -m build
56
+ - run: twine check --strict dist/*
@@ -0,0 +1,69 @@
1
+ name: Release
2
+
3
+ on:
4
+ push:
5
+ tags: ["v*"]
6
+
7
+ permissions:
8
+ contents: read
9
+
10
+ jobs:
11
+ build:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v5
15
+ with:
16
+ fetch-depth: 0
17
+ - name: The tagged commit must be on main
18
+ run: |
19
+ git fetch origin main
20
+ git merge-base --is-ancestor HEAD origin/main || { echo "${GITHUB_REF_NAME} is not on main"; exit 1; }
21
+ - uses: actions/setup-python@v6
22
+ with:
23
+ python-version: "3.12"
24
+ cache: pip
25
+ - run: pip install -e '.[dev]' build twine
26
+ - name: The tag must match the version in the code
27
+ run: |
28
+ version="$(python -c 'import tui_trello; print(tui_trello.__version__)')"
29
+ test "${GITHUB_REF_NAME}" = "v${version}" || { echo "tag ${GITHUB_REF_NAME} does not match version ${version}"; exit 1; }
30
+ - name: The changelog must have a section for it
31
+ run: python scripts/release_notes.py "${GITHUB_REF_NAME}" > /dev/null
32
+ - run: pytest -q
33
+ - run: python -m build
34
+ - run: twine check --strict dist/*
35
+ - uses: actions/upload-artifact@v5
36
+ with:
37
+ name: dist
38
+ path: dist/
39
+
40
+ publish:
41
+ needs: build
42
+ runs-on: ubuntu-latest
43
+ environment: pypi
44
+ permissions:
45
+ id-token: write
46
+ steps:
47
+ - uses: actions/download-artifact@v5
48
+ with:
49
+ name: dist
50
+ path: dist/
51
+ - uses: pypa/gh-action-pypi-publish@release/v1
52
+
53
+ github-release:
54
+ needs: publish
55
+ runs-on: ubuntu-latest
56
+ permissions:
57
+ contents: write
58
+ steps:
59
+ - uses: actions/checkout@v5
60
+ - uses: actions/download-artifact@v5
61
+ with:
62
+ name: dist
63
+ path: dist/
64
+ - name: Create the GitHub Release
65
+ env:
66
+ GH_TOKEN: ${{ github.token }}
67
+ run: |
68
+ python scripts/release_notes.py "${GITHUB_REF_NAME}" > notes.md
69
+ gh release create "${GITHUB_REF_NAME}" dist/* --title "${GITHUB_REF_NAME}" --notes-file notes.md
@@ -0,0 +1,226 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[codz]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ share/python-wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+ MANIFEST
28
+
29
+ # PyInstaller
30
+ # Usually these files are written by a python script from a template
31
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
+ *.manifest
33
+ *.spec
34
+
35
+ # Installer logs
36
+ pip-log.txt
37
+ pip-delete-this-directory.txt
38
+
39
+ # Unit test / coverage reports
40
+ htmlcov/
41
+ .tox/
42
+ .nox/
43
+ .coverage
44
+ .coverage.*
45
+ .cache
46
+ nosetests.xml
47
+ coverage.xml
48
+ *.cover
49
+ *.py.cover
50
+ *.lcov
51
+ .hypothesis/
52
+ .pytest_cache/
53
+ cover/
54
+
55
+ # Translations
56
+ *.mo
57
+ *.pot
58
+
59
+ # Django stuff:
60
+ *.log
61
+ local_settings.py
62
+ db.sqlite3
63
+ db.sqlite3-journal
64
+
65
+ # Flask stuff:
66
+ instance/
67
+ .webassets-cache
68
+
69
+ # Scrapy stuff:
70
+ .scrapy
71
+
72
+ # Sphinx documentation
73
+ docs/_build/
74
+
75
+ # PyBuilder
76
+ .pybuilder/
77
+ target/
78
+
79
+ # Jupyter Notebook
80
+ .ipynb_checkpoints
81
+
82
+ # IPython
83
+ profile_default/
84
+ ipython_config.py
85
+
86
+ # pyenv
87
+ # For a library or package, you might want to ignore these files since the code is
88
+ # intended to run in multiple environments; otherwise, check them in:
89
+ # .python-version
90
+
91
+ # pipenv
92
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
93
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
94
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
95
+ # install all needed dependencies.
96
+ # Pipfile.lock
97
+
98
+ # uv
99
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
100
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
101
+ # commonly ignored for libraries.
102
+ # uv.lock
103
+
104
+ # poetry
105
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
106
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
107
+ # commonly ignored for libraries.
108
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
109
+ # poetry.lock
110
+ # poetry.toml
111
+
112
+ # pdm
113
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
114
+ # pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
115
+ # https://pdm-project.org/en/latest/usage/project/#working-with-version-control
116
+ # pdm.lock
117
+ # pdm.toml
118
+ .pdm-python
119
+ .pdm-build/
120
+
121
+ # pixi
122
+ # Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
123
+ # pixi.lock
124
+ # Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
125
+ # in the .venv directory. It is recommended not to include this directory in version control.
126
+ .pixi/*
127
+ !.pixi/config.toml
128
+
129
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
130
+ __pypackages__/
131
+
132
+ # Celery stuff
133
+ celerybeat-schedule*
134
+ celerybeat.pid
135
+
136
+ # Redis
137
+ *.rdb
138
+ *.aof
139
+ *.pid
140
+
141
+ # RabbitMQ
142
+ mnesia/
143
+ rabbitmq/
144
+ rabbitmq-data/
145
+
146
+ # ActiveMQ
147
+ activemq-data/
148
+
149
+ # SageMath parsed files
150
+ *.sage.py
151
+
152
+ # Environments
153
+ .env
154
+ .envrc
155
+ .venv
156
+ env/
157
+ venv/
158
+ ENV/
159
+ env.bak/
160
+ venv.bak/
161
+
162
+ # Conda environments
163
+ conda-meta/
164
+
165
+ # Spyder project settings
166
+ .spyderproject
167
+ .spyproject
168
+
169
+ # Rope project settings
170
+ .ropeproject
171
+
172
+ # mkdocs/Zensical documentation
173
+ /site
174
+
175
+ # mypy
176
+ .mypy_cache/
177
+ .dmypy.json
178
+ dmypy.json
179
+
180
+ # Pyre type checker
181
+ .pyre/
182
+
183
+ # pytype static type analyzer
184
+ .pytype/
185
+
186
+ # Cython debug symbols
187
+ cython_debug/
188
+
189
+ # PyCharm
190
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
191
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
192
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
193
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
194
+ # .idea/
195
+
196
+ # Abstra
197
+ # Abstra is an AI-powered process automation framework.
198
+ # Ignore directories containing user credentials, local state, and settings.
199
+ # Learn more at https://abstra.io/docs
200
+ .abstra/
201
+
202
+ # Visual Studio Code
203
+ # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore that
204
+ # can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
205
+ # and can be added to the global gitignore or merged into this file. However, if you prefer, you
206
+ # could uncomment the following to ignore the entire vscode folder
207
+ # .vscode/
208
+ # Temporary file for partial code execution
209
+ tempCodeRunnerFile.py
210
+
211
+ # Ruff stuff:
212
+ .ruff_cache/
213
+
214
+ # PyPI configuration file
215
+ .pypirc
216
+
217
+ # Marimo
218
+ marimo/_static/
219
+ marimo/_lsp/
220
+ __marimo__/
221
+
222
+ # Streamlit
223
+ .streamlit/secrets.toml
224
+
225
+ # The original proof of concept; it holds a live Trello token
226
+ main.py
@@ -0,0 +1,33 @@
1
+ # Changelog
2
+
3
+ All notable changes to tui-trello are listed here, newest first. The format follows
4
+ [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the project uses
5
+ [Semantic Versioning](https://semver.org/spec/v2.0.0.html). Before 1.0.0, any release may change the command line,
6
+ `config.toml` or the `[keys]` ids.
7
+
8
+ ## [Unreleased]
9
+
10
+ ## [0.1.0] - 2026-11-25
11
+
12
+ First public release.
13
+
14
+ ### Added
15
+
16
+ - Four views: the Miller-column browser, triage, my work and notifications.
17
+ - Log in with OAuth 2.0 and PKCE (`tui-trello login`).
18
+ - Search every board on Trello, archived cards included, and filter the cards on screen.
19
+ - Create, move, archive and delete cards; edit descriptions; manage labels, checklists and attachments.
20
+ - Drafts of comments, descriptions and new cards, kept if the app is closed or Trello can't be reached.
21
+ - Comments with replies, reactions, editing and deleting, and @mentions.
22
+ - Links to Trello cards, comments, boards and attachments: follow them in the app, or preview them in a popup.
23
+ - Right-to-left text (Arabic and other RTL scripts) laid out by the app, including terminals that reorder text themselves.
24
+ - Markdown in descriptions and comments, and `:shortcode:` emoji.
25
+ - Configurable keys: `[keys]` in `config.toml`, listed by `tui-trello keys`, with two-key sequences.
26
+ - Notifications with unread counts, in-app toasts and desktop alerts.
27
+ - `--open URL` to start on a Trello link, and `--demo` to try the app with sample data.
28
+ - `--version`.
29
+ - News about tui-trello, shown with `N`, read from the public repository (turn off with `[remote] enabled = false` or
30
+ `--no-remote`).
31
+
32
+ [Unreleased]: https://github.com/philjnicholls/tui-trello/compare/v0.1.0...HEAD
33
+ [0.1.0]: https://github.com/philjnicholls/tui-trello/releases/tag/v0.1.0
@@ -0,0 +1,111 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience
6
+ for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender
7
+ identity and expression, level of experience, education, socio-economic status, nationality, personal appearance,
8
+ race, caste, color, religion, or sexual identity and orientation.
9
+
10
+ We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy
11
+ community.
12
+
13
+ ## Our Standards
14
+
15
+ Examples of behavior that contributes to a positive environment for our community include:
16
+
17
+ * Demonstrating empathy and kindness toward other people
18
+ * Being respectful of differing opinions, viewpoints, and experiences
19
+ * Giving and gracefully accepting constructive feedback
20
+ * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
21
+ * Focusing on what is best not just for us as individuals, but for the overall community
22
+
23
+ Examples of unacceptable behavior include:
24
+
25
+ * The use of sexualized language or imagery, and sexual attention or advances of any kind
26
+ * Trolling, insulting or derogatory comments, and personal or political attacks
27
+ * Public or private harassment
28
+ * Publishing others' private information, such as a physical or email address, without their explicit permission
29
+ * Other conduct which could reasonably be considered inappropriate in a professional setting
30
+
31
+ ## Enforcement Responsibilities
32
+
33
+ Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take
34
+ appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening,
35
+ offensive, or harmful.
36
+
37
+ Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits,
38
+ issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for
39
+ moderation decisions when appropriate.
40
+
41
+ ## Scope
42
+
43
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially
44
+ representing the community in public spaces. Examples of representing our community include using an official email
45
+ address, posting via an official social media account, or acting as an appointed representative at an online or
46
+ offline event.
47
+
48
+ ## Enforcement
49
+
50
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leader
51
+ responsible for enforcement, Phil Nicholls, the project maintainer. Report through GitHub's private vulnerability
52
+ reporting form (the **Security** tab of the repository, **Report a vulnerability**), or by a private message to
53
+ [@philjnicholls](https://github.com/philjnicholls) on GitHub. All complaints will be reviewed and investigated
54
+ promptly and fairly.
55
+
56
+ All community leaders are obligated to respect the privacy and security of the reporter of any incident.
57
+
58
+ ## Enforcement Guidelines
59
+
60
+ Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they
61
+ deem in violation of this Code of Conduct:
62
+
63
+ ### 1. Correction
64
+
65
+ **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the
66
+ community.
67
+
68
+ **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the
69
+ violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
70
+
71
+ ### 2. Warning
72
+
73
+ **Community Impact**: A violation through a single incident or series of actions.
74
+
75
+ **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved,
76
+ including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This
77
+ includes avoiding interactions in community spaces as well as external channels like social media. Violating these
78
+ terms may lead to a temporary or permanent ban.
79
+
80
+ ### 3. Temporary Ban
81
+
82
+ **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
83
+
84
+ **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a
85
+ specified period of time. No public or private interaction with the people involved, including unsolicited
86
+ interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead
87
+ to a permanent ban.
88
+
89
+ ### 4. Permanent Ban
90
+
91
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate
92
+ behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
93
+
94
+ **Consequence**: A permanent ban from any sort of public interaction within the community.
95
+
96
+ ## Attribution
97
+
98
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.1, available at
99
+ [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
100
+
101
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
102
+
103
+ For answers to common questions about this code of conduct, see the FAQ at
104
+ [https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
105
+ [https://www.contributor-covenant.org/translations][translations].
106
+
107
+ [homepage]: https://www.contributor-covenant.org
108
+ [v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
109
+ [Mozilla CoC]: https://github.com/mozilla/diversity
110
+ [FAQ]: https://www.contributor-covenant.org/faq
111
+ [translations]: https://www.contributor-covenant.org/translations