Skip to content

UX/UI: Ajout de la page "Présentation" de ma structure#5138

Merged
hellodeloo merged 1 commit intomasterfrom
deloo/add-main-company-page
Dec 3, 2024
Merged

UX/UI: Ajout de la page "Présentation" de ma structure#5138
hellodeloo merged 1 commit intomasterfrom
deloo/add-main-company-page

Conversation

@hellodeloo
Copy link
Contributor

@hellodeloo hellodeloo commented Nov 21, 2024

🤔 Pourquoi ?

Dans le cadre de la refonte et de la navigation latérale, nous aurons un onglet “structure” qui permettra d’accéder aux différentes pages qu’on trouve actuellement dans le cadre “structure” du TDB.
Le but de cette nouvelle page est de donner une vue d’ensemble des informations de la structure.

@hellodeloo hellodeloo self-assigned this Nov 21, 2024
@hellodeloo hellodeloo added the modifié Modifié dans le changelog. label Nov 21, 2024
@hellodeloo hellodeloo changed the title wip: add company homepage UX/UI: Ajout de la page "Présentation" de ma structure Nov 21, 2024
@notion-workspace
Copy link

@hellodeloo hellodeloo added the 1-recette-jetable [Payé à l’heure] Crée une recette jetable sur CC label Nov 21, 2024
@hellodeloo
Copy link
Contributor Author

hellodeloo commented Nov 21, 2024

J'ai ajouté cette page, ça semble ok mais j'ai besoin de professionnels de la profession car j'ai des doutes sur :

  • ma modif sur le templatetag nav
  • la suppression de plusieurs "unused snapshots" après le --snapshot-update
  • la condition hide_cta dans le _company_info.html

Aussi, je me demande s'il ne faudrait pas créer un nouveau test pour cette page ? Si quelqu'un est chaud, il peut le faire.

@github-actions
Copy link

🥁 La recette jetable est prête ! 👉 Je veux tester cette PR !

@hellodeloo hellodeloo force-pushed the deloo/add-main-company-page branch from 28e6739 to fb500d4 Compare November 22, 2024 14:19
app_name = "companies_views"

urlpatterns = [
path("company_home", views.company_home, name="company_home"),
Copy link
Contributor

Choose a reason for hiding this comment

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

Les URLs et vues sont déjà dans des espaces de noms donc pas besoin de rajouter (et donc dupliquer) le "company".
Et je réserverais l'utilisation de "home" uniquement aux pages d'accueil, ça évitera des incompréhensions.

Proposition :

Suggested change
path("company_home", views.company_home, name="company_home"),
path("overview", views.overview, name="overview"),

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Je n'avais rien trouvé d'autre que ce company_home. Bien mieux "overview"

@hellodeloo hellodeloo force-pushed the deloo/add-main-company-page branch from 5e724dd to a5644fd Compare November 26, 2024 09:54
@hellodeloo hellodeloo force-pushed the deloo/add-main-company-page branch from a5644fd to b986f86 Compare November 26, 2024 14:21
@hellodeloo hellodeloo force-pushed the deloo/add-main-company-page branch 2 times, most recently from d9ddf06 to 8084025 Compare November 26, 2024 15:57
Copy link
Contributor

@rsebille rsebille left a comment

Choose a reason for hiding this comment

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

J'ai pas testé ma proposition pour le back_url mais ça a l'air d'être fait comme ça ailleurs 😁.

@hellodeloo hellodeloo force-pushed the deloo/add-main-company-page branch from 8084025 to d83c994 Compare November 28, 2024 15:45
@francoisfreitag francoisfreitag self-assigned this Dec 2, 2024
@francoisfreitag francoisfreitag force-pushed the deloo/add-main-company-page branch from d83c994 to 56da2b9 Compare December 2, 2024 16:39
@hellodeloo hellodeloo added this pull request to the merge queue Dec 2, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 2, 2024
@hellodeloo hellodeloo force-pushed the deloo/add-main-company-page branch from 56da2b9 to befc192 Compare December 2, 2024 17:15
{% url 'companies_views:card' siae_id=company.pk as company_url %}
{% if back_url|default:'' and not open_in_tab|default:False %}
{% url_add_query company_url job_seeker=job_seeker.public_id|default:'' back_url=back_url as company_url_params %}
{% if show_cta|default_if_none:True %}
Copy link
Contributor

Choose a reason for hiding this comment

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

Après comme tu as fait l'effort d'aller le définir sur tous les include, tu pourrais même enlever le default_if_none.

@hellodeloo hellodeloo force-pushed the deloo/add-main-company-page branch from befc192 to 96bc573 Compare December 3, 2024 07:56
@hellodeloo hellodeloo force-pushed the deloo/add-main-company-page branch from 96bc573 to c42f9e8 Compare December 3, 2024 08:35
@hellodeloo hellodeloo added this pull request to the merge queue Dec 3, 2024
Merged via the queue into master with commit f2c0017 Dec 3, 2024
@hellodeloo hellodeloo deleted the deloo/add-main-company-page branch December 3, 2024 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1-recette-jetable [Payé à l’heure] Crée une recette jetable sur CC modifié Modifié dans le changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants