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

Fix admin profil #546

Merged
merged 12 commits into from
Oct 1, 2024
Merged

Fix admin profil #546

merged 12 commits into from
Oct 1, 2024

Conversation

nicolaskempf57
Copy link
Contributor

@nicolaskempf57 nicolaskempf57 commented Sep 27, 2024

This PR closes datagouv/data.gouv.fr#1450
It also removes duplicated types and components.

@nicolaskempf57 nicolaskempf57 marked this pull request as ready for review September 27, 2024 08:38
Copy link
Contributor

@maudetes maudetes left a comment

Choose a reason for hiding this comment

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

Thank you for the fixes! 🙏

>
<div class="fr-grid-row fr-grid-row--gutters fr-grid-row--middle justify-between">
<div class="fr-col-12 fr-col-md fr-grid-row fr-grid-row--middle">
<Placeholder
Copy link
Contributor

Choose a reason for hiding this comment

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

I find it slightly counter-intuitive that the logo appears at the top of the page but is editable at the end of the form only
cc @agarrone

}

onMounted(async () => me.value = await fetchMe());
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't we need to fetch me.value here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, this was necessary before the Dataset PR merge. Now we have access to the useCurrentOrganization composable instead

@@ -12,7 +12,6 @@
{% block extra_css %}{% endblock %}
{% block theme_css %}
<link href="{{ theme_static('assets/style.css') }}" rel="stylesheet">
<link href="{{ theme_static('assets/index.css') }}" rel="stylesheet">
Copy link
Contributor

Choose a reason for hiding this comment

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

👀 Have we had this broken css import for years?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, this css file is now merged in style.css since the changes to the way we import datagouv/components. We added cssCodeSplit: false to the build so this file was removed

@nicolaskempf57 nicolaskempf57 merged commit 23792cf into master Oct 1, 2024
12 of 14 checks passed
@nicolaskempf57 nicolaskempf57 deleted the fix/admin-profil branch October 1, 2024 08:21
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.

Fixes page profil admin V1
2 participants