Skip to content
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

Create a new directory in components for web apps #5184

Merged
merged 2 commits into from
Aug 5, 2020

Conversation

kimwnasptd
Copy link
Member

closes #5183

Since we want to also have some common code between our web apps we should create a parent directory for any future web app we want to develop.

The code for the web apps, common or not, should be organized under this directory.

This PR will also be the first step for merging the code from #5164

cc @elikatsis @StefanoFioravanzo @kandrio98

/cc @jlewi
/assign @kimwnasptd

Since we want to also have some common code between our web apps we
should create a parent dir for any future web app we want to develop.
The code for the web apps, common or not, should be organized under this
directory.

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>
@kubeflow-bot
Copy link
Contributor

This change is Reviewable

@jlewi
Copy link
Contributor

jlewi commented Aug 4, 2020

web apps is overly general. Not all web apps will use this code. Can you scope it down to the web applications that you will own? Which apps are those? I believe they are 3; jupyter UI, tensorboard, and volume controller. Furthermore, I believe based on your previous PR your writing python code for these web apps?

Per: #3578 I believe what you are building is a web app that will manage web apps? So maybe call this something like "web-app-manager"?

@kimwnasptd
Copy link
Member Author

kimwnasptd commented Aug 4, 2020

web apps is overly general. Not all web apps will use this code. Can you scope it down to the web applications that you will own?

What about crud-web-apps? I can't think of a better name for generalizing these three web apps and their common code together. I think web-app-manager would not be a good fit, since the folder is not an app per se but a directory that contains the code for other apps.

Which apps are those? I believe they are 3; jupyter UI, tensorboard, and volume controller.

Yes, it will be for the {Jupyter, Tensorboard, Volumes} UIs.

I believe based on your previous PR your writing python code for these web apps?

#5164 has the common backend/Python code, which essentially exposes a base backend that adds authnz/logging/probes/serving to any app that will be extending it. So the three mentioned apps will be extending this base app and will be adding their own routes on top. Next, I'll be creating a PR that will contain common Angular code that the three apps' frontends will be sharing.

So the structure will be looking like this [ we could also discuss the naming for the common code in their respective PRs ]:

  • crud-web-apps
    • jupyter
      • frontend
      • backend
    • tensorboards
      • ...
    • volumes
      • ...
    • common
      • frontend
        • kubeflow-common-lib
          • package.json
          • ...
      • backend
        • setup.py
        • kubeflow
          • kubeflow
            • crud_backend

Per: #3578 I believe what you are building is a web app that will manage web apps? So maybe call this something like "web-app-manager"?

This folder will not be a web app manager, but rather a reordering in order to include the web apps and their common code together. Per #3578, the web app that will be handling a more generalized Kubeflow CR should also live inside this folder, since it will be utilizing the common code.

I hope the above clarifies a little bit what I have in mind.

- kimwnasptd
- StefanoFioravanzo
reviewers:
- avdaredevil
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have @avdaredevil and @prodonjs agreed to participate in this?

Do not duplicate reviewers and approvers. Please refer to
https://www.kubeflow.org/docs/about/contributing/#maintaining-owners-files

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My bad, I just copied the reviewers from the jupyter web app.
Lets start with an empty list of reviewers for now

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>
@jlewi
Copy link
Contributor

jlewi commented Aug 5, 2020

/lgtm
/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jlewi

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit add568b into kubeflow:master Aug 5, 2020
@kimwnasptd kimwnasptd deleted the feature-kimwnasptd-wa branch December 23, 2020 11:42
saffaalvi pushed a commit to StatCan/kubeflow that referenced this pull request Feb 11, 2021
* Create a new directory in components for web apps

Since we want to also have some common code between our web apps we
should create a parent dir for any future web app we want to develop.
The code for the web apps, common or not, should be organized under this
directory.

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>

* remove the reviewers

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>
saffaalvi pushed a commit to StatCan/kubeflow that referenced this pull request Feb 12, 2021
* Create a new directory in components for web apps

Since we want to also have some common code between our web apps we
should create a parent dir for any future web app we want to develop.
The code for the web apps, common or not, should be organized under this
directory.

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>

* remove the reviewers

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>
Adembc pushed a commit to Adembc/notebooks that referenced this pull request Jun 22, 2024
…5184)

* Create a new directory in components for web apps

Since we want to also have some common code between our web apps we
should create a parent dir for any future web app we want to develop.
The code for the web apps, common or not, should be organized under this
directory.

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>

* remove the reviewers

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>
Adembc pushed a commit to Adembc/notebooks that referenced this pull request Jun 22, 2024
…5184)

* Create a new directory in components for web apps

Since we want to also have some common code between our web apps we
should create a parent dir for any future web app we want to develop.
The code for the web apps, common or not, should be organized under this
directory.

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>

* remove the reviewers

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>
Adembc pushed a commit to Adembc/notebooks that referenced this pull request Jun 22, 2024
…5184)

* Create a new directory in components for web apps

Since we want to also have some common code between our web apps we
should create a parent dir for any future web app we want to develop.
The code for the web apps, common or not, should be organized under this
directory.

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>

* remove the reviewers

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>
Adembc pushed a commit to Adembc/notebooks that referenced this pull request Jun 23, 2024
…5184)

* Create a new directory in components for web apps

Since we want to also have some common code between our web apps we
should create a parent dir for any future web app we want to develop.
The code for the web apps, common or not, should be organized under this
directory.

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>

* remove the reviewers

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>
Adembc pushed a commit to Adembc/notebooks that referenced this pull request Jun 23, 2024
…5184)

* Create a new directory in components for web apps

Since we want to also have some common code between our web apps we
should create a parent dir for any future web app we want to develop.
The code for the web apps, common or not, should be organized under this
directory.

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>

* remove the reviewers

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create a parent directory for future web apps and their common code
4 participants