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

React application collab footer - Updated! #1434

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

NicolasKheirallah
Copy link
Contributor

By submitting this pull request, you agree to the contribution guidelines

If you aren't familiar with how to contribute to open-source repositories using GitHub, or if you find the instructions on this page confusing, sign up for one of our Sharing is Caring events. It's completely free, and we'll guide you through the process.

Q A
Bug fix? no
New feature? no
New sample? no
Related issues? Made the code more standalone, updated the code and clean the code, update it to SPFX 1.20

What's in this Pull Request?

Please describe the changes in this PR. Sample description or details around bugs which are being fixed.

Updated the code and clean the code, update it to SPFX 1.20 and the code to be more up to date and modern! Still need to find a better way to handle taxonomy links, as navigation isn't supported by graph. So I kept the old style of getting data for taxonomy and User profile to keep it uniformly

…ect to be more modern and use react 17 features, cleaned up the code, more logging etc etc
@NicolasKheirallah NicolasKheirallah changed the title React application collab footer React application collab footer - Updated! Oct 21, 2024
@Adam-it Adam-it self-assigned this Oct 21, 2024
Copy link
Contributor

@Adam-it Adam-it left a comment

Choose a reason for hiding this comment

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

I am not sure the approach we did here is correct. I don't think we should move the solution outside of starter kit repo but instead open a PR in that repo to update it there. I will double check it with @hugoabernier and @VesaJuvonen before we proceed but I will label this PR as hacktoberfest-accepted so that it will count towards your hacktoberfest challenge already

@Adam-it Adam-it marked this pull request as draft October 28, 2024 23:27
@NicolasKheirallah NicolasKheirallah marked this pull request as ready for review October 29, 2024 07:25
@NicolasKheirallah
Copy link
Contributor Author

I am not sure the approach we did here is correct. I don't think we should move the solution outside of starter kit repo but instead open a PR in that repo to update it there. I will double check it with @hugoabernier and @VesaJuvonen before we proceed but I will label this PR as hacktoberfest-accepted so that it will count towards your hacktoberfest challenge already

Either works for me :) I'm currently working on bringing the starter-kit to 1.20!

@Adam-it Adam-it marked this pull request as draft October 29, 2024 07:36
@Adam-it
Copy link
Contributor

Adam-it commented Oct 29, 2024

@NicolasKheirallah let's leave this PR as draft until I will know how we should proceed on this and should we leave it here or update it in the starter kit. I will keep you updated

@Adam-it Adam-it marked this pull request as ready for review October 29, 2024 21:21
@Adam-it
Copy link
Contributor

Adam-it commented Oct 29, 2024

@NicolasKheirallah I rechecked this with Vesa and Hugo and we agreed that it is ok to move this updated solution to this repo so we may proceed.
For now let's not touch the starter kit repo as we are still internally thinking if those solutions wont be moved to the samples repo.

Copy link
Contributor

@Adam-it Adam-it left a comment

Choose a reason for hiding this comment

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

@NicolasKheirallah Awesome work so far 👏👏👏
I managed to build and tested the solution
I noticed a few things we should correct before we merge this. Please do give them a double check 🙏


## Used SharePoint Framework Version

![1.4.0](https://img.shields.io/badge/version-1.4-green.svg)
![drop](https://img.shields.io/badge/version-1.16.1-green.svg)
Copy link
Contributor

Choose a reason for hiding this comment

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

we should update this to SPFx 1.20.0

samples/react-application-collab-footer/README.md Outdated Show resolved Hide resolved
samples/react-application-collab-footer/README.md Outdated Show resolved Hide resolved
Comment on lines 67 to 71
## Todo
- [ ] Add Graph Support!
- [ ] Clean up the code
- [ ] Add support for icons for my links
- [ ] Add support for sorting my links
Copy link
Contributor

Choose a reason for hiding this comment

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

is this something which was present in the starter kit readme and moved here or was it something we added? ether way seems more like notes to me than information which should be part of readme. Lets remove this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added it but we can remove it! :) It's more of a note what changes I want to implement!


<img src="https://m365-visitor-stats.azurewebsites.net/sp-dev-fx-extensions/samples/react-application-collab-footer" />
<img src="https://telemetry.sharepointpnp.com/sp-starter-kit/source/react-application-collab-footer" />
Copy link
Contributor

Choose a reason for hiding this comment

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

we should not update this url as it is used for counting telemetry of how many users visited the sample in this repo


This application customizer provides you the ability to include a footer designed for normal and group associated teams sites. The footer includes sets of links configured using the tenant wide deployment list at the app catalog. A second set of links are personalized links, unqiue to each user, stored within each user's user profile within a user profile property. If this property does not exist in the user profile service, this capability will be hidden.
![Collaboration Footer](../../assets/images/components/ext-collab-footer.gif)
Copy link
Contributor

Choose a reason for hiding this comment

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

seems we should also move the assets image from starter kit and update the path here so that it will be also present here

@Adam-it Adam-it marked this pull request as draft October 29, 2024 22:09
@NicolasKheirallah NicolasKheirallah marked this pull request as ready for review November 1, 2024 18:17
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.

2 participants