-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
[Idea] Using subpaths for new boards #10
Comments
Hey, thank you for reporting the issue and for the suggestion. I was testing everything up again a few hours ago and it seems like that both the subpath and title env variables are not working as expected, I think it may have broken with the changes in the Dockerfile released earlier, but I still need to invesitgate it further. About your suggestion, it kinda works this way right now if you use a different port for each project (well, at least it was when the subpath variable was working). The application was designed to contain a single project for container, so each one of them have its own port, title and volumes (for styles and files), in such way that each project is self contained. If having a different port is an issue for you, you could "hide" it by using a local dns or reverse proxy. We could think in way for the application to handle multiple projects by mapping a project to its subpath, but the biggest challenge would be find a way to organize the files without overcomplicating it too much. Right now each lane/list is a folder and each card is a file, in a way that is very easy to navigate and to understand just by looking into it, so I'd really like to avoid compromising it. About using nginx instead of node: I was thinking in making the application SSR, but to be honest I don't have much experience with it, so I decided to make it a SPA so I could develop it faster and maybe convert it to SSR in the future, it would probably simplify the docker setup a lot |
The simples way, and maybe the most secure and atomic, would be to add an addition layer to the structure: So what we have now :
To
|
Does tasks.md now support multiple projects using the above folder structure ? |
No, right now we don't support the above structure. In order to have multiple board you have to deploy different containers for each one of them. If you're running the application from the source code you have to change the ports so they don't conflict |
I'd love to hop on this as a big WIN for me as well! |
Fond of the suggested structure above:
via existing flags, no change needed
And then subdirectories contain same things they contain today, but with 1 layer between for projects. 🥳 |
To be honest, I'm not sure if a Is the uber-simplest short term workaround just tags with |
I think the downside of this approach (if I understood correctly) is that all projects would share the same lanes, since the directory structure would be kept the same |
I was thinking about the possibility to use directories as both lanes and projects. So every lane could be opened as a project, with their own subpath. So let's say we have the following directory structure:
opening Then by opening I think this approach have the following benefits:
It has an obvious downside, though. The user may not want a project to be seem as a lane. For example, given a user has a root folder structured as
and they want every directory to be their own thing, it would be annoying to have it project-1 and project-2 visible like this. To handle this problem I think we could add a flag/chip/whatever to tag as project all directories that have sub directories inside them (in the first example lane-2 would have this flag, and lane-1 would not), and add a filter option to hide all project lanes. What you guys think? |
The interesting thing about this project is its ability to support 2 fundamentally different approaches:
I'm curious if the vision is clearly defined to make the most of both. One thing that really drew me was the ability to edit a card in So, to a degree, I would think any Concerns then:
So I would tend to think either:
|
Another concern here will be
If there are collapsed, then |
From the standpoint of tree # two projects clearly exist
.
├── big-project
│ ├── archive
│ │ ├── idea-for-new-thing-1.md
│ │ └── idea-for-new-thing-2.md
│ ├── backlog
│ │ ├── doc-feature-A.md
│ │ └── doc-feature-B.md
│ ├── done
│ │ └── feature-A.md
│ └── in-progress
│ ├── feature-B.md
│ └── minor-fix-for-thing.md
└── medium-project
├── backlog
│ ├── feature-C.md
│ ├── feature-D.md
│ └── feature-E.md
├── done
│ ├── feature-F.md
│ └── thing.md
└── icebox
├── feature-A.md
├── idea-X.md
└── task-2.md But if tree # hard to see that 2 projects exist
.
├── archive
│ ├── idea-for-new-thing-1.md
│ └── idea-for-new-thing-2.md
├── backlog
│ ├── doc-feature-A.md
│ ├── doc-feature-B.md
│ ├── feature-C.md
│ ├── feature-D.md
│ └── feature-E.md
├── done
│ ├── feature-A.md
│ ├── feature-F.md
│ └── thing.md
├── icebox
│ ├── feature-A.md
│ ├── idea-X.md
│ └── task-2.md
│ └── task-2.md # aw snap! this would be a collision, requiring task-2-{UID1}.md and task-2-{UID2}.md
└── in-progress
├── feature-B.md
└── minor-fix-for-thing.md A feature to |
First of all, congratulations on your work. I had a closer look into it.
Opening the task board with a random path string loads the board but it does not work.
Example: http://localhost:8080/randomString
This is strange but not a big issue. But this led me to this idea: it would be nice to have a new and clean board on any subpath to manage multiple boards for teams and/or projects
http://localhost:8080/team1
http://localhost:8080/team2
http://localhost:8080/projectX
http://localhost:8080/projectY
PS: I was not able the set labels for this issue.
PPS: Why did you use nginx to run the application and not node itself?
The text was updated successfully, but these errors were encountered: