Title: Refactor the File Management System by gmmcosta15 · Pull Request #171 · BlocksTechnology/BlocksScreen · GitHub
Open Graph Title: Refactor the File Management System by gmmcosta15 · Pull Request #171 · BlocksTechnology/BlocksScreen
X Title: Refactor the File Management System by gmmcosta15 · Pull Request #171 · BlocksTechnology/BlocksScreen
Description: Description
Select the type:
Feature
Bug fix
Code refactor
Documentation
BlocksScreen/lib/files.py:
Refactored directory/file handling architecture:
On WebSocket connection: requests the full file list once via initial_load()
On notify_filelist_changed: updates internal state incrementally
Emits signals for UI components to react to changes
Added comments throughout the code
BlocksScreen/lib/panels/mainWindow.py:
Handle metadata missing errors and limit retries (timeout after 3 attempts per file)
Added comments to clarify logic
BlocksScreen/lib/panels/widgets/filesPage.py:
Reacts to changes from files.py and adapts the EntryListModel accordingly
Added “USB” icon to folders that start with USB-
Open Graph Description: Description Select the type: Feature Bug fix Code refactor Documentation BlocksScreen/lib/files.py: Refactored directory/file handling architecture: On WebSocket connection: requests the fu...
X Description: Description Select the type: Feature Bug fix Code refactor Documentation BlocksScreen/lib/files.py: Refactored directory/file handling architecture: On WebSocket connection: requests the fu...
Opengraph URL: https://github.com/BlocksTechnology/BlocksScreen/pull/171
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:6e4ae51d-3b97-6cf7-8821-168b5bd5c19c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 963A:2891C9:562D08:6FA1F3:69928901 |
| html-safe-nonce | 3ccf480f767f660db0e768afdf0900f7182645976ab04b6d12986a31e414d8af |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjNBOjI4OTFDOTo1NjJEMDg6NkZBMUYzOjY5OTI4OTAxIiwidmlzaXRvcl9pZCI6Ijg5ODQ4NjcxNDg4NTQ4ODg3MDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 01ea7e16b155f90e7de389b94aa212ab0250f060e798977a687a1789806b3433 |
| hovercard-subject-tag | pull_request:3215571322 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/BlocksTechnology/BlocksScreen/pull/171/files |
| twitter:image | https://avatars.githubusercontent.com/u/241724854?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/241724854?s=400&v=4 |
| og:image:alt | Description Select the type: Feature Bug fix Code refactor Documentation BlocksScreen/lib/files.py: Refactored directory/file handling architecture: On WebSocket connection: requests the fu... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/BlocksTechnology/BlocksScreen git https://github.com/BlocksTechnology/BlocksScreen.git |
| octolytics-dimension-user_id | 13040595 |
| octolytics-dimension-user_login | BlocksTechnology |
| octolytics-dimension-repository_id | 764211125 |
| octolytics-dimension-repository_nwo | BlocksTechnology/BlocksScreen |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 764211125 |
| octolytics-dimension-repository_network_root_nwo | BlocksTechnology/BlocksScreen |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width