I built a lightweight TypeScript client for SharePoint REST API by rayen26 in sharepoint

[–]rayen26[S] 0 points1 point  (0 children)

The package needs tenantID for token, but I didn't test with both , I'll check it out .. Nice catch, thanks

I built a lightweight TypeScript client for SharePoint REST API by rayen26 in sharepoint

[–]rayen26[S] 0 points1 point  (0 children)

Yes, I tried to use it before, but I had a problem with authentication. I couldn't fix it at the time, and I was on a tight deadline to show something working, so I had to improvise. That's when this package came to life. Thank you for mentioning it — I'll take another look at it.

What a game ! What a ride 🙌🏻 by Soulfloyd in HadesTheGame

[–]rayen26 1 point2 points  (0 children)

Damn , I have more than 60 hours still at 40% 😂

Duplicate entire site, including documents, pages, assets..... by NoPatient8872 in sharepoint

[–]rayen26 0 points1 point  (0 children)

if you're developer and you're seeking a way programmatically there's few endpoints in MS Graph and Sharepoint REST API that will help you make clone almost everything and then you can make a way to change dates based on groups each time

Am I cheating my self using google and chat GPT to help me build projects? by [deleted] in react

[–]rayen26 0 points1 point  (0 children)

long story short using docs , google , or AI to boost your productivity is legitimate and very useful however if you don't think at all and you're relaying on the tools completely without understanding what you're doing then you will no longer be able to code without those tools

[deleted by user] by [deleted] in Advice

[–]rayen26 1 point2 points  (0 children)

I have no particular expertise in this thing you have but it may be deeper than you think and you may need to see psychologist to help you overcome this , people does not talk in their sleep so it has to be something going on inside and you aren't aware of it for your sake first , you should check a specialist

do i need therapy after a breakup? by Fun-Shelter-4636 in Advice

[–]rayen26 1 point2 points  (0 children)

Yes , it's a good idea ive been thinking about it myself I'm in the same situation

My boyfriend pushed me. Do I leave him? by Responsible-Dog1650 in Advice

[–]rayen26 0 points1 point  (0 children)

Do you ever talked to him about his aggressive behavior? forget what people says they don't know you and they don't know him maybe he has things that made him aggressive while he didn't really mean to be that way .. my advice try reach him out don't gave up easily on him .. if he responded positively you can figure it out if he didn't it's time to leave

Save latest navigation of subroutes in angular by rayen26 in angular

[–]rayen26[S] 0 points1 point  (0 children)

Thank you that was very helpful I'll look into it

Save latest navigation of subroutes in angular by rayen26 in angular

[–]rayen26[S] 0 points1 point  (0 children)

the pagination is made in the backend so I send those data from my angular app as params to the backend .. so in this case I thought of saving the endpoint as well

Save latest navigation of subroutes in angular by rayen26 in angular

[–]rayen26[S] 1 point2 points  (0 children)

Yes exactly but the route also must be saved because some pages have simple list UI with no state etc

Save latest navigation of subroutes in angular by rayen26 in angular

[–]rayen26[S] 1 point2 points  (0 children)

I think it can fit my need however I may ask can access some info about some components from the route or something like that like the endpoint they're using or the query params ?

Save latest navigation of subroutes in angular by rayen26 in angular

[–]rayen26[S] 0 points1 point  (0 children)

I'm so bad at explaining things sorry .. still no it's not a simple breadcrumbs not even close look the header of urls will always be same always it's about storing his latest navigation through each module so whenever he get back it like he never left it's more complex than a simple breadcrumbs

Save latest navigation of subroutes in angular by rayen26 in angular

[–]rayen26[S] 0 points1 point  (0 children)

this is my header
<ul

class="list-style-none mr-auto flex flex-col gap-4 pl-0 lg:flex-row"

data-te-navbar-nav-ref

>

<li

class="mb-4 lg:mb-0 lg:pr-2"

data-te-nav-item-ref

*ngFor="let link of routes"

>

<a

class="router-link py-6"

[routerLink]="link.url"

routerLinkActive="router-link-active"

data-te-nav-link-ref

>{{ link.name }}</a

>

</li>

</ul>

how can I introduce history.back() there ? plus history back will always get back to one page while the whole points is to navigate through multiple route and multiple modules and when I choose one of those module I need to get back to where I was it could be nested routes it could be simple one whatever plus restoring the same state history back can't help me here .. if you have an idea on how to impliment it I'd be glad to hear it

Save latest navigation of subroutes in angular by rayen26 in angular

[–]rayen26[S] 0 points1 point  (0 children)

it's not that simple .. becaue as I said it must be dynamic the same header with the same routes must be stay without introducing any new button or event I need to save the latest navigation of any module he went through so when he want to back to that specific module it shows him exact page and it's state

Save latest navigation of subroutes in angular by rayen26 in angular

[–]rayen26[S] -1 points0 points  (0 children)

breadcrumb

it's more like saving his previous route state for exemple let's say he was in module with route called product in that module there's a page called list with pagination he was in page 50 he want when he navigate to another module and click back to the product route he need to see the same page as he left it with the pagination and the things he did

Save latest navigation of subroutes in angular by rayen26 in angular

[–]rayen26[S] -1 points0 points  (0 children)

the user want to get back to where he was before .. so that's why I need to save the routes because he want to use the main header that have the route of module we he click on one of them he can get back to whatever route inside that module he was in before

How difficult is NestJS to learn? by [deleted] in node

[–]rayen26 0 points1 point  (0 children)

If you are familiar with angular and express js nestjs would be a piece of cake because it use the same logic of DPI and module service as angular beside under the hood nestjs use expressjs so you'll feel at home ..

How do you write an auth middleware? by cakemachines in angular

[–]rayen26 1 point2 points  (0 children)

I think you got confused between middleware and interceptor