Cerenzengin / IssueMap2dMarkers

0 stars 0 forks source link

Issues Handling #1

Closed candcconsulting closed 8 months ago

candcconsulting commented 8 months ago

Hi Ceren, Currently the points are being loaded through a points generator ... export class RandomPointGenerator extends BasePointGenerator { private _rng: BasicPRNG;

constructor() { super(); this._rng = new BasicPRNG(Math.random() * 10000); }

However, as these are loaded into a document handler (such as MongoDB) then we need to attach description etc and therefore that process will need ripping out.

If you consider the iTwin Accreditation how they build the html marker with the data pulled that would be a better method.

Therefore I propose that you refactor this code with the accreditation marker code.

I will create a getData function that returns the data from mongoDB

candcconsulting commented 8 months ago

This has been implemented image mongo.ts has the getAllIssues function In Realm a new function was added getAllIssues exports = function(){

let collection = context.services.get("mongodb-atlas").db("EnteredIssues").collection("itwin");

return collection.find() }; and anonymous users were allowed get getAllData https://realm.mongodb.com/groups/659801d080e05362671ae4e9/apps/659a9e63fa4e38037ce2160b/auth/providers https://realm.mongodb.com/groups/659801d080e05362671ae4e9/apps/659a9e63fa4e38037ce2160b/rules/mongodb-atlas/rule/659c0eefd4e21831de7f3ec8 If you open the console and press Load Issues the data will be available

Cerenzengin commented 8 months ago

https://stackoverflow.com/questions/51124721/calling-mongoose-from-react-client-side

Apparently,I couldn't use mongoose on client side so I write a backend with nodejs (with one of my friend) and make them talk via rest API.

React --> Nodejs--> MongoDB ( I can send data like that)

What do you think, should I continue with my backend application for mongodb access or should I try for realm integration?

candcconsulting commented 8 months ago

Realm is extremely easy … it builds your backend …

I found it very easy …

You can see with nearly one call I am getting all issues data … writing is the same, but you need to put some authentication around it

From: Cerenzengin @.> Sent: Monday, January 8, 2024 3:39 PM To: Cerenzengin/IssueMap2dMarkers @.> Cc: C&C Consulting @.>; State change @.> Subject: Re: [Cerenzengin/IssueMap2dMarkers] Issues Handling (Issue #1)

https://stackoverflow.com/questions/51124721/calling-mongoose-from-react-client-side

Apparently,I couldn't use mongoose on client side so I write a backend with nodejs (with one of my friend) and make them talk via rest API.

React --> Nodejs--> MongoDB ( I can send data like that)

What do you think, should I continue with my backend application for mongodb access or should I try for realm integration?

— Reply to this email directly, view it on GitHub https://github.com/Cerenzengin/IssueMap2dMarkers/issues/1#issuecomment-1881253569 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AETAD5M7P5FEGFC5MMO5NADYNQHKZAVCNFSM6AAAAABBRQ5PJSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBRGI2TGNJWHE . You are receiving this because you modified the open/close state.Message ID: @.***>

candcconsulting commented 8 months ago

Oh I see I had to fork to push my changes

https://github.com/candcconsulting/IssueMap2dMarkers/tree/master/src

if you add me as a contributor I can push the files I changed

From: Cerenzengin @.> Sent: Monday, January 8, 2024 3:39 PM To: Cerenzengin/IssueMap2dMarkers @.> Cc: C&C Consulting @.>; State change @.> Subject: Re: [Cerenzengin/IssueMap2dMarkers] Issues Handling (Issue #1)

https://stackoverflow.com/questions/51124721/calling-mongoose-from-react-client-side

Apparently,I couldn't use mongoose on client side so I write a backend with nodejs (with one of my friend) and make them talk via rest API.

React --> Nodejs--> MongoDB ( I can send data like that)

What do you think, should I continue with my backend application for mongodb access or should I try for realm integration?

— Reply to this email directly, view it on GitHub https://github.com/Cerenzengin/IssueMap2dMarkers/issues/1#issuecomment-1881253569 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AETAD5M7P5FEGFC5MMO5NADYNQHKZAVCNFSM6AAAAABBRQ5PJSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBRGI2TGNJWHE . You are receiving this because you modified the open/close state.Message ID: @.***>

Cerenzengin commented 8 months ago

I will analyse both of them then continue with one of them, really thanks a lot.

For adding the contributor, I think I already add you as collaborator but is it something else ? How can I do it? As I see in github you made the fork but should I make something else for you ?


Gönderen: C&C Consulting @.***> Gönderildi: 8 Ocak 2024 Pazartesi 19:06:28 Kime: Cerenzengin/IssueMap2dMarkers Bilgi: Zengin, Ceren; Comment Konu: Re: [Cerenzengin/IssueMap2dMarkers] Issues Handling (Issue #1)

Oh I see I had to fork to push my changes

https://github.com/candcconsulting/IssueMap2dMarkers/tree/master/src

if you add me as a contributor I can push the files I changed

From: Cerenzengin @.> Sent: Monday, January 8, 2024 3:39 PM To: Cerenzengin/IssueMap2dMarkers @.> Cc: C&C Consulting @.>; State change @.> Subject: Re: [Cerenzengin/IssueMap2dMarkers] Issues Handling (Issue #1)

https://stackoverflow.com/questions/51124721/calling-mongoose-from-react-client-side

Apparently,I couldn't use mongoose on client side so I write a backend with nodejs (with one of my friend) and make them talk via rest API.

React --> Nodejs--> MongoDB ( I can send data like that)

What do you think, should I continue with my backend application for mongodb access or should I try for realm integration?

— Reply to this email directly, view it on GitHub https://github.com/Cerenzengin/IssueMap2dMarkers/issues/1#issuecomment-1881253569 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AETAD5M7P5FEGFC5MMO5NADYNQHKZAVCNFSM6AAAAABBRQ5PJSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBRGI2TGNJWHE . You are receiving this because you modified the open/close state.Message ID: @.***>

— Reply to this email directly, view it on GitHubhttps://github.com/Cerenzengin/IssueMap2dMarkers/issues/1#issuecomment-1881582039, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BDVP724SWVFOZ2NJK34UINDYNQYSJAVCNFSM6AAAAABBRQ5PJSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBRGU4DEMBTHE. You are receiving this because you commented.Message ID: @.***>

candcconsulting commented 8 months ago

Did you add @. @.> or the @. @.> ?

From: Cerenzengin @.> Sent: Monday, January 8, 2024 9:30 PM To: Cerenzengin/IssueMap2dMarkers @.> Cc: C&C Consulting @.>; State change @.> Subject: Re: [Cerenzengin/IssueMap2dMarkers] Issues Handling (Issue #1)

I will analyse both of them then continue with one of them, really thanks a lot.

For adding the contributor, I think I already add you as collaborator but is it something else ? How can I do it? As I see in github you made the fork but should I make something else for you ?


Gönderen: C&C Consulting @.***> Gönderildi: 8 Ocak 2024 Pazartesi 19:06:28 Kime: Cerenzengin/IssueMap2dMarkers Bilgi: Zengin, Ceren; Comment Konu: Re: [Cerenzengin/IssueMap2dMarkers] Issues Handling (Issue #1)

Oh I see I had to fork to push my changes

https://github.com/candcconsulting/IssueMap2dMarkers/tree/master/src

if you add me as a contributor I can push the files I changed

From: Cerenzengin @.> Sent: Monday, January 8, 2024 3:39 PM To: Cerenzengin/IssueMap2dMarkers @.> Cc: C&C Consulting @.>; State change @.> Subject: Re: [Cerenzengin/IssueMap2dMarkers] Issues Handling (Issue #1)

https://stackoverflow.com/questions/51124721/calling-mongoose-from-react-client-side

Apparently,I couldn't use mongoose on client side so I write a backend with nodejs (with one of my friend) and make them talk via rest API.

React --> Nodejs--> MongoDB ( I can send data like that)

What do you think, should I continue with my backend application for mongodb access or should I try for realm integration?

— Reply to this email directly, view it on GitHub https://github.com/Cerenzengin/IssueMap2dMarkers/issues/1#issuecomment-1881253569 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AETAD5M7P5FEGFC5MMO5NADYNQHKZAVCNFSM6AAAAABBRQ5PJSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBRGI2TGNJWHE . You are receiving this because you modified the open/close state.Message ID: @.***>

— Reply to this email directly, view it on GitHubhttps://github.com/Cerenzengin/IssueMap2dMarkers/issues/1#issuecomment-1881582039, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BDVP724SWVFOZ2NJK34UINDYNQYSJAVCNFSM6AAAAABBRQ5PJSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBRGU4DEMBTHE. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/Cerenzengin/IssueMap2dMarkers/issues/1#issuecomment-1881851746 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AETAD5N4LQWYFZKJJOO5I5LYNRQO5AVCNFSM6AAAAABBRQ5PJSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBRHA2TCNZUGY . You are receiving this because you modified the open/close state.Message ID: @.***>

glenworrall commented 8 months ago

You should be able to see my fork ... for some reason it has pushed the lock files ... need to exclude them ... but if you look at the forks ...

The changes are straightforward ... I made most of the changes in Atlas [cid:0e94d7e9-7468-44df-8735-473d96b3773c]

Glen Worrall


From: C&C Consulting @.> Sent: Monday, January 8, 2024 21:43 To: Cerenzengin/IssueMap2dMarkers @.> Cc: Subscribed @.***> Subject: Re: [Cerenzengin/IssueMap2dMarkers] Issues Handling (Issue #1)

WARNING: This email originated from outside of the organization. DO NOT click links, open attachments, or respond unless you recognize the sender and know the content is safe.


Did you add @. @.> or the @. @.> ?

From: Cerenzengin @.> Sent: Monday, January 8, 2024 9:30 PM To: Cerenzengin/IssueMap2dMarkers @.> Cc: C&C Consulting @.>; State change @.> Subject: Re: [Cerenzengin/IssueMap2dMarkers] Issues Handling (Issue #1)

I will analyse both of them then continue with one of them, really thanks a lot.

For adding the contributor, I think I already add you as collaborator but is it something else ? How can I do it? As I see in github you made the fork but should I make something else for you ?


Gönderen: C&C Consulting @.***> Gönderildi: 8 Ocak 2024 Pazartesi 19:06:28 Kime: Cerenzengin/IssueMap2dMarkers Bilgi: Zengin, Ceren; Comment Konu: Re: [Cerenzengin/IssueMap2dMarkers] Issues Handling (Issue #1)

Oh I see I had to fork to push my changes

https://github.com/candcconsulting/IssueMap2dMarkers/tree/master/srchttps://urldefense.com/v3/__https://github.com/candcconsulting/IssueMap2dMarkers/tree/master/src__;!!F1Q1IbZmrAg!BzSbS-QEU9p4qJCD0Lk7YTV5I3Pp8mhVOPJdbMWtn8xbjt7YGMpUjIbe2dD6Pmg4ZM8nP-LwpywifXYK1spEuJFa9Djr$

if you add me as a contributor I can push the files I changed

From: Cerenzengin @.> Sent: Monday, January 8, 2024 3:39 PM To: Cerenzengin/IssueMap2dMarkers @.> Cc: C&C Consulting @.>; State change @.> Subject: Re: [Cerenzengin/IssueMap2dMarkers] Issues Handling (Issue #1)

https://stackoverflow.com/questions/51124721/calling-mongoose-from-react-client-sidehttps://urldefense.com/v3/__https://stackoverflow.com/questions/51124721/calling-mongoose-from-react-client-side__;!!F1Q1IbZmrAg!BzSbS-QEU9p4qJCD0Lk7YTV5I3Pp8mhVOPJdbMWtn8xbjt7YGMpUjIbe2dD6Pmg4ZM8nP-LwpywifXYK1spEuDD-3ayN$

Apparently,I couldn't use mongoose on client side so I write a backend with nodejs (with one of my friend) and make them talk via rest API.

React --> Nodejs--> MongoDB ( I can send data like that)

What do you think, should I continue with my backend application for mongodb access or should I try for realm integration?

— Reply to this email directly, view it on GitHub https://github.com/Cerenzengin/IssueMap2dMarkers/issues/1#issuecomment-1881253569https://urldefense.com/v3/__https://github.com/Cerenzengin/IssueMap2dMarkers/issues/1*issuecomment-1881253569*3E__;IyU!!F1Q1IbZmrAg!BzSbS-QEU9p4qJCD0Lk7YTV5I3Pp8mhVOPJdbMWtn8xbjt7YGMpUjIbe2dD6Pmg4ZM8nP-LwpywifXYK1spEuBYXJd13$ , or unsubscribe https://github.com/notifications/unsubscribe-auth/AETAD5M7P5FEGFC5MMO5NADYNQHKZAVCNFSM6AAAAABBRQ5PJSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBRGI2TGNJWHEhttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AETAD5M7P5FEGFC5MMO5NADYNQHKZAVCNFSM6AAAAABBRQ5PJSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBRGI2TGNJWHE*3E__;JQ!!F1Q1IbZmrAg!BzSbS-QEU9p4qJCD0Lk7YTV5I3Pp8mhVOPJdbMWtn8xbjt7YGMpUjIbe2dD6Pmg4ZM8nP-LwpywifXYK1spEuM4jEbfZ$ . You are receiving this because you modified the open/close state.Message ID: @.***>

— Reply to this email directly, view it on GitHubhttps://github.com/Cerenzengin/IssueMap2dMarkers/issues/1#issuecomment-1881582039https://urldefense.com/v3/__https://github.com/Cerenzengin/IssueMap2dMarkers/issues/1*issuecomment-1881582039*3E__;IyU!!F1Q1IbZmrAg!BzSbS-QEU9p4qJCD0Lk7YTV5I3Pp8mhVOPJdbMWtn8xbjt7YGMpUjIbe2dD6Pmg4ZM8nP-LwpywifXYK1spEuMxU1g2L$, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BDVP724SWVFOZ2NJK34UINDYNQYSJAVCNFSM6AAAAABBRQ5PJSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBRGU4DEMBTHEhttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/BDVP724SWVFOZ2NJK34UINDYNQYSJAVCNFSM6AAAAABBRQ5PJSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBRGU4DEMBTHE*3E__;JQ!!F1Q1IbZmrAg!BzSbS-QEU9p4qJCD0Lk7YTV5I3Pp8mhVOPJdbMWtn8xbjt7YGMpUjIbe2dD6Pmg4ZM8nP-LwpywifXYK1spEuGuzN-iy$. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/Cerenzengin/IssueMap2dMarkers/issues/1#issuecomment-1881851746https://urldefense.com/v3/__https://github.com/Cerenzengin/IssueMap2dMarkers/issues/1*issuecomment-1881851746*3E__;IyU!!F1Q1IbZmrAg!BzSbS-QEU9p4qJCD0Lk7YTV5I3Pp8mhVOPJdbMWtn8xbjt7YGMpUjIbe2dD6Pmg4ZM8nP-LwpywifXYK1spEuIrMZq0s$ , or unsubscribe https://github.com/notifications/unsubscribe-auth/AETAD5N4LQWYFZKJJOO5I5LYNRQO5AVCNFSM6AAAAABBRQ5PJSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBRHA2TCNZUGYhttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AETAD5N4LQWYFZKJJOO5I5LYNRQO5AVCNFSM6AAAAABBRQ5PJSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBRHA2TCNZUGY*3E__;JQ!!F1Q1IbZmrAg!BzSbS-QEU9p4qJCD0Lk7YTV5I3Pp8mhVOPJdbMWtn8xbjt7YGMpUjIbe2dD6Pmg4ZM8nP-LwpywifXYK1spEuOw0RHMB$ . You are receiving this because you modified the open/close state.Message ID: @.***>

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/Cerenzengin/IssueMap2dMarkers/issues/1*issuecomment-1881868944__;Iw!!F1Q1IbZmrAg!BzSbS-QEU9p4qJCD0Lk7YTV5I3Pp8mhVOPJdbMWtn8xbjt7YGMpUjIbe2dD6Pmg4ZM8nP-LwpywifXYK1spEuOI2nPsP$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AEFPJ6I2ODNH4DYAWO4QE23YNRSB7AVCNFSM6AAAAABBRQ5PJSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBRHA3DQOJUGQ__;!!F1Q1IbZmrAg!BzSbS-QEU9p4qJCD0Lk7YTV5I3Pp8mhVOPJdbMWtn8xbjt7YGMpUjIbe2dD6Pmg4ZM8nP-LwpywifXYK1spEuMRUeFfM$. You are receiving this because you are subscribed to this thread.Message ID: @.***>


This email, including any attachments, may contain confidential and/or proprietary information intended only for the use of the recipient. If you are not the intended recipient, any distribution, copying, or use of this email or its attachments is prohibited. If you received this email in error, please reply to the sender immediately and delete this message and any copies.

Bentley Systems has taken all reasonable steps to ensure that this communication is free from viruses, data corruption, and unauthorized alteration. Bentley Systems does not accept liability for any damages that may be incurred as a result of this or any communication by email

[https://cdn2.webdamdb.com/220th_sm_EdpYPzNrja101cmW.jpg?1691764309]