Skip to content

Add file selector - #14

Merged
t0mdavid-m merged 7 commits into
mainfrom
add_file_selector
May 12, 2026
Merged

t0mdavid-m merged 7 commits into
mainfrom
add_file_selector

Conversation

@t0mdavid-m

Copy link
Copy Markdown
Member

No description provided.

claude and others added 7 commits May 12, 2026 06:45
Add an in-app tree browser for a host directory bind-mounted into the
container. When LOCAL_DATA_DIR points at an existing directory, the
upload widget renders a sandboxed file tree in online mode and writes
picked paths to the existing external_files.txt, so workflows reference
the files in place without copying them into the workspace volume.
Offline tkinter flow is unchanged.

https://claude.ai/code/session_01D8nvwaRQpEYTuUdKemPtkn
Replace full-width folder buttons with a single st.pills row, render
breadcrumbs as tertiary buttons separated by » with the Parent button
right-aligned, and add dividers so the header, navigation, listing and
add-action regions are visually separated. File checkbox rows are
unchanged.

https://claude.ai/code/session_01D8nvwaRQpEYTuUdKemPtkn
Drop the inner dividers and the st.pills row. Each subfolder now
renders as its own tertiary button styled like the file checkbox rows
(folder icon + name, no checkbox); clicking navigates. The result is a
single vertically-stacked list where folders and files share form
factor and the 📂 vs 📄 icons mark the distinction.

https://claude.ai/code/session_01D8nvwaRQpEYTuUdKemPtkn
Inject a small CSS block to cut the vertical padding on tertiary
buttons so folder rows render at checkbox-row height, and wrap each
folder button in a 2-column row so the 📂 icon aligns with the 📄
icon on the file checkboxes below it.

https://claude.ai/code/session_01D8nvwaRQpEYTuUdKemPtkn
Read the mount root from settings.local_data_dir instead of the
LOCAL_DATA_DIR env var; the Docker image now ships with local_data_dir
defaulted to /mounted-data via a jq step in Dockerfile, so binding a
host volume at /mounted-data is the only thing a user needs to do —
the browser auto-renders whenever the directory exists.

Also fix the example-fallback guard in upload_widget so that picks
written to external_files.txt count as "files exist" and the example
data files no longer override mounted-drive selections.

https://claude.ai/code/session_01D8nvwaRQpEYTuUdKemPtkn
…ctor-5eLot

Add mounted directory browser for file selection in Streamlit UI
@coderabbitai

coderabbitai Bot commented May 12, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@t0mdavid-m has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 54 minutes and 53 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 0de83cc4-5d6e-42df-99d0-542acbc9ee36

📥 Commits

Reviewing files that changed from the base of the PR and between 9598f0f and 50bae60.

📒 Files selected for processing (5)
  • Dockerfile
  • README.md
  • docker-compose.yml
  • settings.json
  • src/workflow/StreamlitUI.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch add_file_selector

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@t0mdavid-m
t0mdavid-m merged commit f2764cd into main May 12, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants