Stream: Google Summer of Code

Topic: BRL-CAD Project site 2022


view this post on Zulip Divyanshu Garg (May 28 2022 at 19:44):

Hey Team,
So over these few days, I have been looking at the things which we need to follow and things related to the organization that we follow.
So as mentioned in my proposal in the first phase our most important target is to get the base project page up and running including all the perks like Responsiveness, i18n, lining, modern programming techniques for scss, and more. This is primarily the boilerplate stuff which is the first task of this specific project.

So, after exploring the options like Hugo, Next.js, Gatsby.js, CRA, etc, I concluded to use Next.js
The reason to go with is basically react, features like SSG, SEO, and the ability to add basic APIs, and its fast
Plus its react so it will make the work much easier and more flexible. The boilerplate by default supports scss out of the box and also has base support of eslint (We can integrate any flavor of eslint we want, I prefer Airbnb-lint tough). Moreover, the i18n support is also good for react so that's a plus point.
So once we set up this boilerplate, I can start working on the UI part of the site, where we will start with the home page including all of its components which will be reusable and adaptable depending on what we want them to do.
Please share your ideas and views on this
CC @Amanjot Singh @Erik

view this post on Zulip Divyanshu Garg (May 28 2022 at 19:46):

This is the design reference I made for the project
https://www.figma.com/file/nI1IDdPUHRr2vzBNOLIr60/BRL-CAD-Wireframe?node-id=0%3A1
we cannot say it is complete but it is enough to get us full direction towards the frontend part and thus we will be updating shadows colors and more during the development phase.

view this post on Zulip Erik (May 28 2022 at 19:54):

neat, but what about support for the oddballs who run noscript and the like? will there be 'graceful degradation'?

view this post on Zulip Divyanshu Garg (May 29 2022 at 19:47):

Not sure what we are referring to as oddballs
But if we are talking about the components like gallery, wiki
Cause i have been thinking about these 2 parts as well so for those i was thinking that the best solution could be to use subdomain like gallery.brl-cad.org and wiki.brl-cad.org
The thing is i am not completely sure about the structure of the things which are being used or not
For example i am sure about the main page in web repository under brl-cad
But that repo have this wp directory which i am not sure about what its for, like are we using it at all,
There is also this wiki directory there and a repo with name of wiki
So i am just figuring out what is being used where, so that we might also get some things cleaned up for better code management

If you can detail me with these things that would be great

view this post on Zulip Daniel Rossberg (May 30 2022 at 17:05):

Erik means people like me, who have scripting (i.e. JavaScript) deactivated by default in their browser. With this, I'm seeing an empty page, when I open your reference design link. Hopefully, this won't be the case with the final BRL-CAD site :wink:

view this post on Zulip Divyanshu Garg (May 30 2022 at 17:32):

This is interesting, I had no idea that developers disable javascript on a permanent basis
So to answer the question is https://static-tweet.vercel.app/
This is a static site made using nextjs and I just tried it with disabling js and its working
So no it won't affect noscript team
There might be few degradations for them at some point which I am not sure of but on a basic level they would be able to access the site

view this post on Zulip Daniel Rossberg (May 30 2022 at 17:36):

Switching JavaScript off is a precaution when navigating to unknown websites, e.g. from Google search. For example, NoScipt (a Firefox plug-in) lets you select trusted websites where JavaScript is allowed, on every other site it's switched off.

view this post on Zulip Divyanshu Garg (May 30 2022 at 17:38):

Sounds like a good security precaution
Thanks for the explanation :grinning_face_with_smiling_eyes:

view this post on Zulip Daniel Rossberg (May 30 2022 at 17:38):

Degradations are normal, but people should be able to see what's the site about, and if they want to "risk" switching JavaScript on ;)

view this post on Zulip Divyanshu Garg (May 30 2022 at 17:42):

Yeah, from some of the blogs I just read I conclude that there might be some buttons that are completely dependent on JS and might not work but overall the site would be able to display maximum content we want

view this post on Zulip Sean (Jun 02 2022 at 16:52):

@Divyanshu Garg please update https://brlcad.org/wiki/Google_Summer_of_Code/2022 with your project when you can, and check over the checklist for other getting-started tasks

view this post on Zulip Divyanshu Garg (Jun 03 2022 at 10:41):

@Sean I have added the information
I will be updating it more

view this post on Zulip Divyanshu Garg (Jun 05 2022 at 13:27):

Update - I have been working on the boiler plate on local to check what type of configuration would be best for us

view this post on Zulip Divyanshu Garg (Jun 06 2022 at 16:12):

Hey @Erik @Amanjot Singh
So I was wondering about the way we are deploying the projects like main site, gallery and wiki on the domain.
Can you please explain a bit about it how its working?

view this post on Zulip Erik (Jun 06 2022 at 16:22):

I think manually? it'd be cool to have (semi) automated deployment

view this post on Zulip Divyanshu Garg (Jun 06 2022 at 16:23):

on a cloud server like aws or azure?

view this post on Zulip Erik (Jun 06 2022 at 16:23):

no, a colo'd fbsd box

view this post on Zulip Divyanshu Garg (Jun 06 2022 at 16:24):

Yeah, I think i need to google this one first to understand what it is :sweat_smile:

view this post on Zulip Erik (Jun 06 2022 at 16:25):

dedicated hw in a datacenter, running the freebsd operating system

view this post on Zulip Divyanshu Garg (Jun 06 2022 at 16:25):

https://www.freebsd.org/
Oh okay

view this post on Zulip Daniel Rossberg (Jun 06 2022 at 17:09):

Or, with other words, the machine where brlcad.org runs :wink:

view this post on Zulip Divyanshu Garg (Jun 06 2022 at 17:18):

Yeah, I have learned about automated CI/CD with servers like Azure, AWS, or google cloud, so there should be a workaround with FreeBSD as its also Unix-based so maybe we can get not full but at least partial automated deployment

view this post on Zulip Amanjot Singh (Jun 07 2022 at 14:55):

@Divyanshu Garg have you made a decision on what tech stack you will be using for the website?

view this post on Zulip Divyanshu Garg (Jun 07 2022 at 14:59):

Yes Sir,
I have decided to use Next.js with a static rendering feature, to get a fast compressed site with good lighthouse performance and also for NoScript users.
For additional details, I will be including Eslint, i18n, Commit lint, and SCSS in the boilerplate. I won't be using any CSS framework or library because I just don't like using any of them and it helps maintain code size.
Please let me know if you have more questions regarding boilerplate setup

view this post on Zulip Amanjot Singh (Jun 07 2022 at 15:02):

That sounds like a plan, Divyanshu. Hit me up when you set up the boilerplate, I would love to help if you need it as well.

view this post on Zulip Divyanshu Garg (Jun 07 2022 at 15:04):

Yeah sure, I worked on a test boilerplate but I ended up messing a lot of code in it, So I will be setting up a new one and keeping it clean to start the work

view this post on Zulip Amanjot Singh (Jun 08 2022 at 03:27):

coooool

view this post on Zulip Divyanshu Garg (Jun 11 2022 at 17:47):

Hey @Erik @Amanjot Singh
I was importing the boilerplate code to the repo code and I found that the code inside the repo is not the one deployed
Am I looking at the right repo? https://github.com/BRL-CAD/web
Or should I create a new one? (Specifically for nextjs web project)
Because pasting the boilerplate code directly won't be a good idea because a lot of files might get mixed, so maybe we can save it inside a folder in the repo or a separate repo will solve the issue

view this post on Zulip Divyanshu Garg (Jun 11 2022 at 18:14):

Just deployed the first empty preview for the boilerplate
https://brl-cad-web.vercel.app/
For now, it just says Project site

view this post on Zulip Amanjot Singh (Jun 13 2022 at 09:59):

Divyanshu Garg said:

Hey Erik Amanjot Singh
I was importing the boilerplate code to the repo code and I found that the code inside the repo is not the one deployed
Am I looking at the right repo? https://github.com/BRL-CAD/web
Or should I create a new one? (Specifically for nextjs web project)
Because pasting the boilerplate code directly won't be a good idea because a lot of files might get mixed, so maybe we can save it inside a folder in the repo or a separate repo will solve the issue

Yes, I second the solution. You can create a new repo for the next version of our application website and keep it separate which you already did. Once we are done with the development. You can even transfer the repo to BRL-CAD.

view this post on Zulip Amanjot Singh (Jun 13 2022 at 10:00):

Though we should wait for the confirmation from @Erik as well. For now I believe it's good to go.

view this post on Zulip Erik (Jun 13 2022 at 11:10):

new repo sounds good to me, we just need to make sure to note the location of the new one in the readme of the old one when switching

view this post on Zulip Divyanshu Garg (Jun 13 2022 at 17:30):

Yeah, I will update the old readme and make sure to document rules and setup related stuff in the new one
Thanks for the confirmation :grinning_face_with_smiling_eyes:

view this post on Zulip Divyanshu Garg (Jun 13 2022 at 20:43):

https://github.com/BRL-CAD/web/pull/64

view this post on Zulip Divyanshu Garg (Jun 13 2022 at 20:43):

A pr to update readme.md to let user know about new project

view this post on Zulip Divyanshu Garg (Jun 13 2022 at 21:12):

I will be adding tasks here
https://github.com/divyanshugarg36/brl-cad-web/projects/1

view this post on Zulip Divyanshu Garg (Jun 13 2022 at 21:16):

https://github.com/divyanshugarg36/brl-cad-web/pull/1

view this post on Zulip Divyanshu Garg (Jun 13 2022 at 21:16):

@Amanjot Singh @Erik I have just submitted the first PR for the project please have a look when possible :grinning_face_with_smiling_eyes:
Happy coding!!

view this post on Zulip Divyanshu Garg (Jun 13 2022 at 21:26):

The deployment previews are also there
won't matter a lot RN but will help in future PRs

view this post on Zulip Divyanshu Garg (Jun 14 2022 at 21:21):

Sent a WIP PR for next update
https://github.com/divyanshugarg36/brl-cad-web/pull/2

view this post on Zulip Amanjot Singh (Jun 15 2022 at 05:23):

Great job @Divyanshu Garg !!

view this post on Zulip Amanjot Singh (Jun 15 2022 at 05:27):

I have reviewed the first PR of the project and approved it. However, I had some thoughts about the second one. I noticed its current work status in progress but its pipeline is failing. You can wait for the commit until the pipeline issues are resolved. Having all the commits green from pipeline status is good practice. I also have some other reviews for PR 2. Let me know when you make it ready for review.

view this post on Zulip Amanjot Singh (Jun 15 2022 at 05:30):

Divyanshu Garg said:

I will be adding tasks here
https://github.com/divyanshugarg36/brl-cad-web/projects/1

You can open issues in projects for the feature you are working on. For instance, you create PR for helper mixins and functions in scss. If we would have an issue with that PR we can discuss the task there, instead of taking the conversation to the PR comments. It can even help you to manage your Kanban board more efficiently and you can link the issues with the project board directly :wink:

view this post on Zulip Divyanshu Garg (Jun 15 2022 at 20:26):

Thanks for the review @Amanjot Singh
Yeah I will make the issues and attach the PR to it

view this post on Zulip Divyanshu Garg (Jun 15 2022 at 22:10):

made another commit but keeping it wip for now

view this post on Zulip Divyanshu Garg (Jun 16 2022 at 07:09):

Hey @Erik @Amanjot Singh
Please do check the deploy preview of the latest commit and share your reviews
https://github.com/divyanshugarg36/brl-cad-web/pull/2

view this post on Zulip Amanjot Singh (Jun 16 2022 at 10:58):

@Divyanshu Garg I have added some comments for PR 2. Can you resolve them? That's okay if you don't make this change in the current code but keeping that code change request for future can help reducing code for sure.

view this post on Zulip Divyanshu Garg (Jun 16 2022 at 19:16):

Update: Working on PR review and footer

view this post on Zulip Divyanshu Garg (Jun 17 2022 at 07:22):

Hey @Sean @Erik @Amanjot Singh
Since I started working on this project I have been thinking about a lot of things that we can possibly do with the project
And today I was looking at some offsite components of the current implementation and found out that Our gallery has some UI issues and looks outdated
So I was thinking about upgrading it to the latest version and possibly blending it in to match with the primary project, in terms of visualization

I also have some ideas flowing in my head like adding dark mode support, Animations, and SEO-specific improvements

can we add these features after the July deadline so we can cover all these things easily and add more details to the project?

Please share your views...

view this post on Zulip Divyanshu Garg (Jun 17 2022 at 20:21):

Update: Footer code is almost done and will be pushing It tomorrow as its little bit messy right now

view this post on Zulip Divyanshu Garg (Jun 18 2022 at 16:33):

Hey @Erik @Amanjot Singh
New PR on the line https://github.com/divyanshugarg36/brl-cad-web/pull/3
Please review when possible and share your views

view this post on Zulip Divyanshu Garg (Jun 18 2022 at 21:24):

Latest preview
https://brl-cad-web-git-footer-divyanshugarg36.vercel.app/

view this post on Zulip Amanjot Singh (Jun 20 2022 at 15:58):

Divyanshu Garg said:

Hey Sean Erik Amanjot Singh
Since I started working on this project I have been thinking about a lot of things that we can possibly do with the project
And today I was looking at some offsite components of the current implementation and found out that Our gallery has some UI issues and looks outdated
So I was thinking about upgrading it to the latest version and possibly blending it in to match with the primary project, in terms of visualization

I also have some ideas flowing in my head like adding dark mode support, Animations, and SEO-specific improvements

can we add these features after the July deadline so we can cover all these things easily and add more details to the project?

Please share your views...

That sounds awesome. Good to see you pitching ideas to make the website perfect according to our requirements. Having dark mode, animations and SEO is definitely gonna make a good impact on the application. Though I'm not sure about when we can do that, probably after the current timeline of the project. Also, @Sean can confirm if we need to add any other feature to the website that might have higher priority.
cc: @Daniel Rossberg

view this post on Zulip Amanjot Singh (Jun 20 2022 at 16:00):

Divyanshu Garg said:

Hey Erik Amanjot Singh
New PR on the line https://github.com/divyanshugarg36/brl-cad-web/pull/3
Please review when possible and share your views

Okay, I will review this one later this week. I will be a little busy this week so my availability will be limited. If it is possible you can chain this branch and work ahead. Let me know if anything blocks you.

view this post on Zulip Amanjot Singh (Jun 20 2022 at 16:03):

Divyanshu Garg said:

Latest preview
https://brl-cad-web-git-footer-divyanshugarg36.vercel.app/

Looks good, though there are some minor improvements in the mobile view that can be done. It seems like it is in progress if I make a guess, or you can confirm. Also, I feel if the menu in mobile view can have a little modern view it will add good value to the UI.

view this post on Zulip Divyanshu Garg (Jun 20 2022 at 16:38):

Okay @Amanjot Singh I will keep pushing and chaining the code
For mobile view navigation, we can do update it to some extent but for now, I am targeting a full web coverage so that we can update the project asap and then we can make the updates that will make it look better

view this post on Zulip Divyanshu Garg (Jun 25 2022 at 13:56):

New PR on the line
https://github.com/divyanshugarg36/brl-cad-web/pull/8

view this post on Zulip Sean (Jun 28 2022 at 13:12):

wow, I'd not seen vercel before -- that's awesome. loving the live preview feature. that's a huge help!

view this post on Zulip Sean (Jun 28 2022 at 13:20):

Divyanshu Garg said:

Hey Sean Erik Amanjot Singh
Since I started working on this project I have been thinking about a lot of things that we can possibly do with the project
And today I was looking at some offsite components of the current implementation and found out that Our gallery has some UI issues and looks outdated
So I was thinking about upgrading it to the latest version and possibly blending it in to match with the primary project, in terms of visualization

Getting the image gallery to match the style and be more integrated with the site would be awesome. Note that the gallery does not have to stay in piwigo. It's really just meant to be a convenient place to see a curated set of interesting images and could be managed in many different ways. Note that most of our most recent images aren't even in the gallery -- they're on the facebook page. So lots of disconnect. It'd be nice if images could be somehow synced automatically, or pulled from facebook manually, or posts to the website gallery also post to facebook, etc. Don't know what are options are there.

view this post on Zulip Divyanshu Garg (Jun 29 2022 at 08:29):

Yeah Vercel is awesome, All these features and just 2-3 mins time to set it up

For the gallery part, I am thinking of a custom gallery integrated directly inside the Next.js project,
I am just able to imagine the part where we can have all the basic features like nested images (Categorized images in a folder), Search using image name, tags, and description. Meaning all the basic features Piwigo provides us currently.
For the Facebook part, according to my past experiences with their API, it was horrible, They don't love developers I guess :grinning_face_with_smiling_eyes: but how about if we can add a button below every image which will auto-generate a shared post for facebook whenever we click on it?
On the same note, I also wanted to mention that this update would mean if we want to add images to the platform that has to be done via committing the code directly to the GitHub repo, the reason being no backend API is involved, we can discuss on that part and if we are okay with that we can add it in phase 3 of the current GSOC and in other cases we can pick a better image gallery manager and update it to look alike our project

Views?

CC @Sean

view this post on Zulip Amanjot Singh (Jun 29 2022 at 12:30):

Divyanshu Garg said:

New PR on the line
https://github.com/divyanshugarg36/brl-cad-web/pull/8

@Divyanshu Garg I think we should move the discussion of using flex and font mixing ahead. The code is getting lengthy without them. I have tagged you there with the reply.

view this post on Zulip Divyanshu Garg (Jun 29 2022 at 16:45):

Added replies @Amanjot Singh

view this post on Zulip Divyanshu Garg (Jun 29 2022 at 20:27):

New PR on the way
https://github.com/divyanshugarg36/brl-cad-web/pull/13

view this post on Zulip Divyanshu Garg (Jun 29 2022 at 20:53):

New PR on the line
https://github.com/divyanshugarg36/brl-cad-web/pull/16

view this post on Zulip Divyanshu Garg (Jun 29 2022 at 20:54):

@Amanjot Singh this one is for the flex mixing we are discussing
Will do same for font families in another PR

view this post on Zulip Amanjot Singh (Jun 30 2022 at 02:14):

@Divyanshu Garg can you add me as a collaborator in the project. I believe we should use labels like Pending Developer Action and Pending Reviewer Action I am not able to use any label atm. This can help us understand the status of PR from the outside. Also, I will review the pending PRs soon

view this post on Zulip Amanjot Singh (Jun 30 2022 at 02:27):

I have added replies to your PRs

view this post on Zulip Divyanshu Garg (Jun 30 2022 at 08:22):

@Amanjot Singh Added contributor and added some replies

view this post on Zulip Amanjot Singh (Jul 04 2022 at 05:54):

thanks, will check that today

view this post on Zulip Amanjot Singh (Jul 06 2022 at 11:49):

I was traveling for two days continuously and got sick. I might be taking rest for a day or two. Will jump back in here after I'm good again.

view this post on Zulip Inder Singh (Jul 06 2022 at 13:49):

@Amanjot Singh if you need help in anything like reviewing code etc, just assign me and I will do it.

view this post on Zulip Amanjot Singh (Jul 06 2022 at 16:15):

That would be great @Inder Singh thank you for extending the help. @Divyanshu Garg can send you the links of PRs that require code reviews.

view this post on Zulip Divyanshu Garg (Jul 06 2022 at 16:28):

Take care @Amanjot Singh
And Thank you for chiming in @Inder Singh

Here is the link to the repo
https://github.com/divyanshugarg36/brl-cad-web/pulls

These are the PRs that are reviewed and fixed but require approval
https://github.com/divyanshugarg36/brl-cad-web/pull/2
https://github.com/divyanshugarg36/brl-cad-web/pull/3
https://github.com/divyanshugarg36/brl-cad-web/pull/8
https://github.com/divyanshugarg36/brl-cad-web/pull/12
https://github.com/divyanshugarg36/brl-cad-web/pull/16

This one is new
https://github.com/divyanshugarg36/brl-cad-web/pull/17

view this post on Zulip Inder Singh (Jul 06 2022 at 18:18):

Okay i don't think i can approve but would definitely go through the one and point things out .

view this post on Zulip Inder Singh (Jul 07 2022 at 09:09):

@Divyanshu Garg I have added few comments in the new PR https://github.com/divyanshugarg36/brl-cad-web/pull/17/files

Most of the code is great, there were just a few questions and suggestions I had.

view this post on Zulip Divyanshu Garg (Jul 08 2022 at 07:47):

Thanks, @Inder Singh for the review, I will push some updates to fix some of the issues

view this post on Zulip Divyanshu Garg (Jul 09 2022 at 15:18):

New PR for review https://github.com/divyanshugarg36/brl-cad-web/pull/20

view this post on Zulip Inder Singh (Jul 10 2022 at 18:24):

@Divyanshu Garg okay will look into it.

view this post on Zulip Divyanshu Garg (Jul 16 2022 at 21:09):

Sent PR fixes and new PR on the road
https://github.com/divyanshugarg36/brl-cad-web/pull/26

view this post on Zulip Amanjot Singh (Jul 17 2022 at 04:22):

Will check them in some time today

view this post on Zulip Divyanshu Garg (Jul 18 2022 at 14:08):

Divyanshu Garg said:

Yeah Vercel is awesome, All these features and just 2-3 mins time to set it up

For the gallery part, I am thinking of a custom gallery integrated directly inside the Next.js project,
I am just able to imagine the part where we can have all the basic features like nested images (Categorized images in a folder), Search using image name, tags, and description. Meaning all the basic features Piwigo provides us currently.
For the Facebook part, according to my past experiences with their API, it was horrible, They don't love developers I guess :grinning_face_with_smiling_eyes: but how about if we can add a button below every image which will auto-generate a shared post for facebook whenever we click on it?
On the same note, I also wanted to mention that this update would mean if we want to add images to the platform that has to be done via committing the code directly to the GitHub repo, the reason being no backend API is involved, we can discuss on that part and if we are okay with that we can add it in phase 3 of the current GSOC and in other cases we can pick a better image gallery manager and update it to look alike our project

Views?

CC Sean

Hey @Sean
Can you please share your views on this?

view this post on Zulip Divyanshu Garg (Jul 18 2022 at 19:30):

New PR https://github.com/divyanshugarg36/brl-cad-web/pull/27

view this post on Zulip Amanjot Singh (Jul 19 2022 at 12:02):

Great job @Divyanshu Garg I have added new comments on the PRs and approved the older ones with resolved comments.

view this post on Zulip Divyanshu Garg (Jul 19 2022 at 13:17):

Fixed issues @Amanjot Singh

view this post on Zulip Amanjot Singh (Jul 19 2022 at 15:37):

Awesome, will check that

view this post on Zulip Amanjot Singh (Jul 20 2022 at 10:29):

I checked the PRs and approved the solved ones yesterday, and maybe you have merged them as well.

view this post on Zulip Amanjot Singh (Jul 20 2022 at 10:30):

I have also added comment to the last PR opened

view this post on Zulip Amanjot Singh (Jul 20 2022 at 10:36):

I saw a small issue with some background colors and little spacing. I have opened the issue here. https://github.com/divyanshugarg36/brl-cad-web/issues/28

view this post on Zulip Amanjot Singh (Jul 20 2022 at 10:37):

I believe before moving ahead let's plan out the issues (12) which we have pointed out in the application and might be needed to be resolved soon.

view this post on Zulip Divyanshu Garg (Jul 20 2022 at 17:13):

Sure @Amanjot Singh I will push an update asap

view this post on Zulip Divyanshu Garg (Jul 20 2022 at 19:08):

@Amanjot Singh as the site is almost complete. I was wondering what our plan is to get it deployed? making it up and running on brlcad.org

view this post on Zulip Sean (Jul 21 2022 at 04:05):

working on getting accounts established for both of you so you can do that. as soon as amanjot's set up, I'll be in touch with you for your account procedure.

view this post on Zulip Divyanshu Garg (Jul 21 2022 at 06:48):

Okay :grinning_face_with_smiling_eyes:
Excited about the deployment part :handball:

view this post on Zulip Sean (Jul 22 2022 at 06:31):

it sounds like there will likely be some details to discuss because part of this will likely involve figuring out how to deploy the set up without relying on a 3rd party service, or to understand and discuss the implications in much greater detail. 3rd party services are great for development, demo, staging, but not something typically desired for main website servicing.

view this post on Zulip Sean (Jul 22 2022 at 06:32):

the website is also going to need to integrate seamlessly with the doc site generation, and that all needs to work offline too. that was part of the reason for discussing static options early on.

view this post on Zulip Sean (Jul 22 2022 at 06:34):

BRL-CAD is deployed to networks without Internet access, so we want to keep that restriction in mind or have a plan for how it'll be serviced if it's different.

view this post on Zulip Amanjot Singh (Jul 22 2022 at 11:08):

Yeah, once @Divyanshu Garg is up and ready with the server thingy we will move ahead. We can then move to setup the deployment with CI/CD

view this post on Zulip Sean (Jul 22 2022 at 19:05):

Another complication is that Vercel works for single user dev testing but technically BRLCAD as a project is not eligible for their hobby tier. Open source is by definition also commercial software, so their choice of terms there is unfortunate. That means any individual dev can use it (eg you) but “we” cannot without reaching out to them about their non-commercial license term as it pertains to open source.

view this post on Zulip Divyanshu Garg (Jul 22 2022 at 20:12):

For the deployment part
We don't need to use Vercel

I just checked Next.js is based on MIT license

We can just clone the code on the server and generate an offline static build without requiring the internet (We will need some for installing node packages) but once all those packages are there its good to go with a single command

view this post on Zulip Divyanshu Garg (Jul 23 2022 at 19:40):

Another PR https://github.com/divyanshugarg36/brl-cad-web/pull/31

view this post on Zulip Amanjot Singh (Jul 26 2022 at 06:37):

I have requested some changes. Please have a look

view this post on Zulip Divyanshu Garg (Jul 26 2022 at 19:18):

Updated the PR

view this post on Zulip Divyanshu Garg (Jul 26 2022 at 20:03):

Another one https://github.com/divyanshugarg36/brl-cad-web/pull/32

view this post on Zulip Sean (Jul 28 2022 at 04:05):

For deploying this awesomeness, plan to first stage into https://beta.brlcad.org and not yet affect the main website as we'll need to ensure it's 1) going to and pulling from repo, 2) properly self-staged for review, and 3) covers all the necessary bases

view this post on Zulip Amanjot Singh (Jul 28 2022 at 04:29):

@Divyanshu Garg can you create dev branch so that we can make the flow of development in a way that dev is staging and main is production. We will send code to dev and after the review it can go to production. Since this is a long term project for BRL-CAD having a good development flow is kind of necessity. Let me know if you need more information on this.

view this post on Zulip Sean (Jul 28 2022 at 04:31):

Some feedback on what I'm seeing in the latest PR: 1) the moving polylines are displayed while scrolling down and it seems like an error / is distracting -- they do disappear once scrolled to the very bottom, 2) the About Us section is wildly out of date information, probably best to combine with the next section and drop the old items, 3) Our Projects text is redundant with What is BRL-CAD, 4) instead of Our Projects page, perhaps we frame that page as a Repos page or similar since we will need a projects page that is more curated and product-based.

view this post on Zulip Amanjot Singh (Jul 28 2022 at 07:35):

Sean said:

Some feedback on what I'm seeing in the latest PR: 1) the moving polylines are displayed while scrolling down and it seems like an error / is distracting -- they do disappear once scrolled to the very bottom, 2) the About Us section is wildly out of date information, probably best to combine with the next section and drop the old items, 3) Our Projects text is redundant with What is BRL-CAD, 4) instead of Our Projects page, perhaps we frame that page as a Repos page or similar since we will need a projects page that is more curated and product-based.

I will detail this feedback in GitHub issues. Thanks for the feedback @Sean :raised_hands:

view this post on Zulip Divyanshu Garg (Jul 28 2022 at 14:49):

Sean said:

Some feedback on what I'm seeing in the latest PR: 1) the moving polylines are displayed while scrolling down and it seems like an error / is distracting -- they do disappear once scrolled to the very bottom, 2) the About Us section is wildly out of date information, probably best to combine with the next section and drop the old items, 3) Our Projects text is redundant with What is BRL-CAD, 4) instead of Our Projects page, perhaps we frame that page as a Repos page or similar since we will need a projects page that is more curated and product-based.

Thanks for the feedback @Sean
This will help alot to make changes and fix things

view this post on Zulip Divyanshu Garg (Jul 28 2022 at 20:28):

Amanjot Singh said:

Divyanshu Garg can you create dev branch so that we can make the flow of development in a way that dev is staging and main is production. We will send code to dev and after the review it can go to production. Since this is a long term project for BRL-CAD having a good development flow is kind of necessity. Let me know if you need more information on this.

Yeah i just made the branch and directed the PRs to dev branch

view this post on Zulip Amanjot Singh (Jul 31 2022 at 05:12):

Congratulations @Divyanshu Garg on passing your evaluation. You are doing a great job. Let's jam on the further things and lit them up as well. :fire: :praise:

view this post on Zulip Divyanshu Garg (Jul 31 2022 at 17:31):

Thanks @Amanjot Singh and whole BRL-CAD team

view this post on Zulip Divyanshu Garg (Jul 31 2022 at 17:31):

Just wanted to inform that i am little sick so i will be back to forces in a day or 2

view this post on Zulip Amanjot Singh (Aug 01 2022 at 06:09):

No problem @Divyanshu Garg take proper rest and come back stronger

view this post on Zulip Divyanshu Garg (Aug 02 2022 at 05:02):

Hey @Sean @Amanjot Singh
I just checked the server and cloned the new repository
But found that we have node 17 installed there and npm is not
Should I go ahead and install node 14 and npm? or we can also use NVM

view this post on Zulip Amanjot Singh (Aug 02 2022 at 06:08):

I think it's better to install nvm instead of installing node directly.

view this post on Zulip Divyanshu Garg (Aug 04 2022 at 07:07):

NVM didnt worked on the server, it started a long process of compilation and didnt got to final stage for like 5 mins then i cancled it

view this post on Zulip Divyanshu Garg (Aug 04 2022 at 07:07):

thinking of another way

view this post on Zulip Divyanshu Garg (Aug 04 2022 at 07:08):

Can i use sudo to install the npm setup package?

view this post on Zulip Sean (Aug 04 2022 at 19:34):

Can you provide more details and/or a log file? What was it doing during that time?

I just installed npm.

view this post on Zulip Divyanshu Garg (Aug 05 2022 at 05:38):

I dont have an exact log, because after it went wrong I did a clean uninstall of nvm
But for installation
I just ran curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | zsh
and after that, it started using c and cpp to compile files

view this post on Zulip Divyanshu Garg (Aug 05 2022 at 05:48):

I made the build successfully

view this post on Zulip Divyanshu Garg (Aug 05 2022 at 05:49):

I think to deploy this we need to forward 500 port to beta

view this post on Zulip Divyanshu Garg (Aug 06 2022 at 08:38):

I moved to the tasks we have to do in phase 2
I cloned the repo and installed it
Then I saw the build process and followed it and it generated a static documentation site
Not what I see in this one is to change the theme to match the main project, so will be looking at it how we can achieve that

view this post on Zulip Divyanshu Garg (Aug 06 2022 at 08:40):

Apart from that @Sean , I used npm to start the project and it did work but I think there were some dependencies issues so we might need nvm to setup the project, and there are 2 options for us at this point for deployment

  1. We can use port forwarding to deploy the build because this will allow us to take advantage of most of nextjs features
  2. We can make static build using which we can deploy the files directly but will loose most of nextjs features

and I think we should go with 1

view this post on Zulip Divyanshu Garg (Aug 06 2022 at 08:42):

@Amanjot Singh we do have some PRs pending in main project. might need to take a look at them

view this post on Zulip Amanjot Singh (Aug 06 2022 at 09:19):

@Divyanshu Garg I will review them today. Thanks for reminding

view this post on Zulip Amanjot Singh (Aug 08 2022 at 05:57):

Added some comments @Divyanshu Garg Please check them on GitHub

view this post on Zulip Amanjot Singh (Aug 09 2022 at 04:39):

@Divyanshu Garg Good news for you :wink: I thought getting engaged with the deployment would take your focus away from the application and actual code. So I talked with Erik and we think you can solely focus on writing code and adding new ideas to the project. I will be working on the deployment process alongside (most probably on the weekend)

I think this will help you create clear goals for this phase. Let me know if you need any help with that.

view this post on Zulip Divyanshu Garg (Aug 09 2022 at 05:37):

Oh, that's great,
But there's one thing I wanted to confirm about this phase, which is I have tested and understood the documentation repo we want to make live, but I saw that it automatically generated a static site that can be deployed directly, if we talk about its integration with main project its just a matter or adding a new URL in navbar or footer, Is this something we want to achieve?

view this post on Zulip Amanjot Singh (Aug 09 2022 at 05:39):

Most probably yes but still I will confirm that soon. Meanwhile, you can work on the Gallary idea that you shared earlier.

view this post on Zulip Divyanshu Garg (Aug 09 2022 at 05:55):

Yeah that would be a great idea to start the gallery module, Its just I will need to create a plan and do some research on how we can make a manageable gallery tool, I will check it out and post an update...

view this post on Zulip Sean (Aug 09 2022 at 20:42):

Divyanshu Garg said:

Oh, that's great,
But there's one thing I wanted to confirm about this phase, which is I have tested and understood the documentation repo we want to make live, but I saw that it automatically generated a static site that can be deployed directly, if we talk about its integration with main project its just a matter or adding a new URL in navbar or footer, Is this something we want to achieve?

Yes, that's the general idea, but not all that is needed. The new doc repo generates a static set of files, but that'll need to seamlessly integrate with the website in both styling and organization. Initial integration can be very simple, just drop it in and link to it, but that's only the start . It needs to not look like a totally separate site and ideally should not duplicate information. For example it might make sense to turn the previous "features" pages into doc pages. Or maybe the gallery images should reside in the docs repo as a showcase, and the website repo processes it down and integrates it all together. Or maybe we keep the gallery separate like it is, but then we will need to document everything clearly as to how things get edited and revision controlled.

view this post on Zulip Sean (Aug 09 2022 at 20:44):

Divyanshu Garg said:

Apart from that Sean , I used npm to start the project and it did work but I think there were some dependencies issues so we might need nvm to setup the project, and there are 2 options for us at this point for deployment

  1. We can use port forwarding to deploy the build because this will allow us to take advantage of most of nextjs features
  2. We can make static build using which we can deploy the files directly but will loose most of nextjs features

and I think we should go with 1

What features would we lost? A static site is going to be more performant and will likely work better for non-public deployment or environments where javascript is disabled.

view this post on Zulip Divyanshu Garg (Aug 11 2022 at 07:48):

Thanks for the clarity @Sean
I will update the documentation template and make sure that it looks as same as the main project UI

view this post on Zulip Divyanshu Garg (Aug 11 2022 at 07:50):

@Sean
These are the features we will miss out if we generate a static one

view this post on Zulip Divyanshu Garg (Aug 11 2022 at 16:49):

Started working on the docs repo to match the UI will be sending a PR soon

view this post on Zulip Divyanshu Garg (Aug 11 2022 at 16:50):

For the Footer part i am thinking that same footer can be used but for header there might be some difference so will figure that out

view this post on Zulip Divyanshu Garg (Aug 14 2022 at 17:41):

image.png
@Amanjot Singh @Sean
These are the changes I made to make the documentation site and main project look alike
Luckily both projects are using same fonts roboto.
Added some theme colors and more

Please share your views

view this post on Zulip Divyanshu Garg (Aug 14 2022 at 17:43):

If this gets a greenlight then I can also add an identical footer

view this post on Zulip Amanjot Singh (Aug 16 2022 at 17:16):

Divyanshu Garg said:

image.png
Amanjot Singh Sean
These are the changes I made to make the documentation site and main project look alike
Luckily both projects are using same fonts roboto.
Added some theme colors and more

Please share your views

Looking good to me :fire: Let's wait for Sean to confirm this one as well

view this post on Zulip Amanjot Singh (Aug 19 2022 at 04:03):

@Divyanshu Garg I have reviewed and approved both the PRs on GitHub. Do you have anything in your plate now?

view this post on Zulip Divyanshu Garg (Aug 19 2022 at 05:47):

Yes, For the documentation site i have the plan ready for the part where we want to make the theme similar to our main project
For the main project I have been figuring out some things to make some updates we discussed last time

view this post on Zulip Amanjot Singh (Aug 19 2022 at 06:04):

Divyanshu Garg said:

Yes, For the documentation site i have the plan ready for the part where we want to make the theme similar to our main project

Can you elaborate a little more about the plan you are referring to for theme matching?

For the main project I have been figuring out some things to make some updates we discussed last time

Yeah let's plan the things that we can include ahead for the rest of the time in GSoC.

view this post on Zulip Divyanshu Garg (Aug 22 2022 at 06:52):

Yeah sure i have been keeping together some cards for a board so i will add them all on the project site github, or the documentation site github if i had the access

view this post on Zulip Amanjot Singh (Aug 23 2022 at 03:42):

Sure. I think we should move further to the gallery section. If there's anything pending on the documentation site theme you can create issues about that. Let me know if you need any input from me on this.

view this post on Zulip Amanjot Singh (Aug 24 2022 at 02:34):

We have a few days left for this. Let's plan this today and start jamming

view this post on Zulip Divyanshu Garg (Aug 24 2022 at 06:03):

Yeah i am already working on the plan and will be sharing it today

view this post on Zulip Amanjot Singh (Aug 24 2022 at 06:19):

Yes, also let's finish up the theme match task. You make changes according to https://brlcad.zulipchat.com/user_uploads/1549/2BG0E1QtyxZzwdFIx7sJ-vaY/image.png image you shared.

view this post on Zulip Divyanshu Garg (Aug 24 2022 at 06:20):

Sure, thanks for the confirmation

view this post on Zulip Divyanshu Garg (Aug 24 2022 at 17:19):

https://github.com/divyanshugarg36/brl-cad-web/projects/3?add_cards_query=is%3Aopen
Plan for theme

view this post on Zulip Divyanshu Garg (Aug 24 2022 at 17:28):

https://github.com/divyanshugarg36/brlcad-docs/pull/1

view this post on Zulip Divyanshu Garg (Aug 24 2022 at 17:28):

Opened a PR

view this post on Zulip Divyanshu Garg (Aug 24 2022 at 17:28):

@Amanjot Singh I have added you as a collaborator in this fork

view this post on Zulip Divyanshu Garg (Aug 24 2022 at 17:28):

once we are done with code i will send a PR from forked main to main

view this post on Zulip Amanjot Singh (Aug 24 2022 at 17:55):

Great! I'll check them tomorrow morning. Thanks for putting your hard work on this man. Will get back to you on this tomorrow.

view this post on Zulip Divyanshu Garg (Aug 24 2022 at 18:52):

Second PR
https://github.com/divyanshugarg36/brlcad-docs/pull/2

view this post on Zulip Amanjot Singh (Aug 25 2022 at 05:48):

@Divyanshu Garg nice job. I reviewed the first PR and will review the second one by today evening.

view this post on Zulip Divyanshu Garg (Aug 26 2022 at 16:06):

Thanks for the review @Amanjot Singh

view this post on Zulip Divyanshu Garg (Aug 27 2022 at 15:54):

@Amanjot Singh I have sent updates on both new PRs and now I am looking for the existing gallery implementation, I am thinking what if we can add new theme to the gallery which will allow us to have all the existing features and it will look integrated with the main project site

view this post on Zulip Divyanshu Garg (Aug 27 2022 at 15:54):

what do you suggest?

view this post on Zulip Amanjot Singh (Aug 29 2022 at 04:08):

Yes, you can make that experiment. In the end, we are looking for things to have an overhauled design and look. I think if just adding a new theme to the existing gallery would work, we should go for it.

view this post on Zulip Amanjot Singh (Aug 29 2022 at 04:55):

I think the coding period is ending this week. Let's jam on that and see if working on that is feasible in this short time span.

view this post on Zulip Amanjot Singh (Aug 29 2022 at 04:57):

PS other than the gallery do you have any other ideas for the website? Also, we have to figure out if it's possible to finish the gallery by the end of this week.

view this post on Zulip Divyanshu Garg (Aug 29 2022 at 07:47):

@Amanjot Singh I have some UI plans for this one, as its already there and wont take a lot of time meaning it might be doable in 1 week,
https://brlcad.org/gallery/
I just need the exact repository for this deployment then i can check what things needs to be done for making this UI better

view this post on Zulip Amanjot Singh (Aug 29 2022 at 14:43):

@Erik do you know, from where we can access the actual code where the gallery is implemented?

cc: @Sean

view this post on Zulip Divyanshu Garg (Sep 01 2022 at 04:35):

@Amanjot Singh do we have any update?

view this post on Zulip Divyanshu Garg (Sep 01 2022 at 05:02):

With the current status, I am left with some issues in GitHub so I will start working on them

view this post on Zulip Amanjot Singh (Sep 01 2022 at 05:12):

Yeah, we didn't get the confirmation yet. You can shift to GitHub issues.

view this post on Zulip Amanjot Singh (Sep 01 2022 at 05:15):

Sean said:

Some feedback on what I'm seeing in the latest PR: 1) the moving polylines are displayed while scrolling down and it seems like an error / is distracting -- they do disappear once scrolled to the very bottom, 2) the About Us section is wildly out of date information, probably best to combine with the next section and drop the old items, 3) Our Projects text is redundant with What is BRL-CAD, 4) instead of Our Projects page, perhaps we frame that page as a Repos page or similar since we will need a projects page that is more curated and product-based.

@Divyanshu Garg I saw you already have these issues in GitHub but I couldn't find 3 & 4 there. Did you fix them already?

view this post on Zulip Divyanshu Garg (Sep 01 2022 at 05:15):

Yeah, 3 and 4 were both fixed

view this post on Zulip Divyanshu Garg (Sep 06 2022 at 17:07):

@Amanjot Singh all PR comments are fixed for brlcad-docs

view this post on Zulip Divyanshu Garg (Sep 06 2022 at 17:33):

https://github.com/divyanshugarg36/brl-cad-web/pull/39

view this post on Zulip Divyanshu Garg (Sep 06 2022 at 17:33):

new small one to fix issue

view this post on Zulip Divyanshu Garg (Sep 06 2022 at 17:57):

@Amanjot Singh https://github.com/divyanshugarg36/brl-cad-web/issues/34
I have been thinking about this issue
Do we have a place where we can get latest BRL information which we can add here

view this post on Zulip Amanjot Singh (Sep 08 2022 at 03:35):

Divyanshu Garg said:

Amanjot Singh https://github.com/divyanshugarg36/brl-cad-web/issues/34
I have been thinking about this issue
Do we have a place where we can get latest BRL information which we can add here

I think @Sean or @Erik can confirm this one. Spoiler alert, this is about latest information for about us section.

view this post on Zulip Amanjot Singh (Sep 08 2022 at 03:38):

@Divyanshu Garg I'm a little engaged with some personal errands. I have yet to work on the deployment thingy. So, giving you a heads up that you can use your repository link as the showcase work for GSoC evaluation (just in case you need it). Throwing this information a little proactively so that you don't get blocked because of this. If you have any question or doubt hit me up.

view this post on Zulip Divyanshu Garg (Sep 08 2022 at 16:44):

Thanks for the heads up @Amanjot Singh

view this post on Zulip Sean (Sep 08 2022 at 17:39):

Divyanshu Garg said:

Amanjot Singh https://github.com/divyanshugarg36/brl-cad-web/issues/34
I have been thinking about this issue
Do we have a place where we can get latest BRL information which we can add here

Not really. There's lots of information in many different places. The about-us page was taken from "Vol I" which no longer exists as a guide but the relevant information was extracted to the website. There's really good information in our contributor's guide ( https://archive.flossmanuals.net/contributors-guide-to-brl-cad/ ) and it's probably the most up-to-date and intentionally written, but it's certainly not what I'd call the "latest"

view this post on Zulip Sean (Sep 08 2022 at 17:40):

This PDF gives a graphical overview, but doesn't really provide explanation -- lots of images that can be reused though. https://brlcad.org/BRL-CAD_Overview.pdf

view this post on Zulip Divyanshu Garg (Sep 08 2022 at 17:43):

Thanks for the information @Sean
I will try to figure out what information from these links is relevant for the project site and if it didn't worked out then we have the option to eliminate or merge this block

view this post on Zulip Amanjot Singh (Sep 19 2022 at 18:26):

Congratulations @Divyanshu Garg on clearing GSoC 2022. I did a great job. Looking forward to jam on more things after this huge milestone :fire::clink: keep rocking

view this post on Zulip Amanjot Singh (Sep 20 2022 at 06:17):

Amanjot Singh said:

Congratulations Divyanshu Garg on clearing GSoC 2022. I did a great job. Looking forward to jam on more things after this huge milestone :fire::clink: keep rocking

OOOOPSSSSSS I wrote You did a great job as I did a great job :joy: I'm really sorry for this typo man it's all your hard work

view this post on Zulip Divyanshu Garg (Sep 20 2022 at 06:37):

Yeah :joy:
Thanks @Sean @Daniel Rossberg @Amanjot Singh
It was great working with you all and I will keep contributing and make more improvements

Thanks for offering the role of web admin, I would love to know my responsibilities for this :grinning_face_with_smiling_eyes:

view this post on Zulip Divyanshu Garg (Sep 20 2022 at 19:49):

Started working on https://github.com/divyanshugarg36/brl-cad-web/issues/34
And started putting together some details
We can try changing the info once and see if it looks good,
Else we can hide this block

view this post on Zulip Amanjot Singh (Sep 24 2022 at 11:29):

@Divyanshu Garg I have approved the 3rd PR of docs repo. Let me know if there is anything else left.

view this post on Zulip Divyanshu Garg (Sep 24 2022 at 12:56):

Thank you for the update @Amanjot Singh

Here is the final PR for merging the changes in the main repository
https://github.com/BRL-CAD/brlcad-docs/pull/52
CC @Sean

view this post on Zulip Divyanshu Garg (Sep 24 2022 at 12:57):

Please let me know it we need to make any changes in this

view this post on Zulip Divyanshu Garg (Sep 24 2022 at 13:54):

Hey, @Amanjot Singh @Sean
https://github.com/divyanshugarg36/brl-cad-web/pull/41
A new PR for the main project site
This updates the about us section with the somewhat latest information as shared earlier
Please have a look if this is okay, else we can plan to merge this block with some other block

view this post on Zulip Amanjot Singh (Sep 30 2022 at 03:46):

@Divyanshu Garg thank you for the hard work. I will be reviewing them after this weekend.

view this post on Zulip Amanjot Singh (Nov 14 2022 at 05:48):

@Divyanshu Garg I have reviewed the pending PRs. Let me know if there is anything pending now

view this post on Zulip Divyanshu Garg (Nov 16 2022 at 13:16):

Thanks @Amanjot Singh
I will update asap!

view this post on Zulip Sean (Nov 16 2022 at 23:11):

Now that things are starting to settle back down, it'd be great to push this work live. Is there a final punch list? (i.e., a list of any details remaining to make it final)

view this post on Zulip Divyanshu Garg (Nov 17 2022 at 12:11):

Hey @Sean
I think this build can be deployed on the live server
And the final punch list was related to some pending reviews and issues which are already fixed
(I do have some more ideas which I will start working on once we are done with the deployment)
I do need to update that copyright year in the footer which I will send a PR for
https://brl-cad-web.vercel.app/ This is the dev deployment link for the latest build.
Please review this when possible and let me know if we need to fix something, I will move to deployment after this
:grinning_face_with_smiling_eyes:

CC @Amanjot Singh

view this post on Zulip Divyanshu Garg (Dec 16 2022 at 06:56):

@Amanjot Singh Here is the final PR before deploying the project
Please have a look https://github.com/divyanshugarg36/brl-cad-web/pull/43

view this post on Zulip Amanjot Singh (Dec 18 2022 at 06:00):

Hey @Divyanshu Garg I have approved this one. You can merge this now

view this post on Zulip Divyanshu Garg (Feb 07 2023 at 19:48):

I think we are good to go with the deployment process
I will collaborate with @Amanjot Singh to get this site live
@Sean do we have the green light? :grinning_face_with_smiling_eyes:

view this post on Zulip Divyanshu Garg (Feb 07 2023 at 19:48):

https://brl-cad-web.vercel.app/

view this post on Zulip Divyanshu Garg (Feb 07 2023 at 19:49):

Here is the link to final build

view this post on Zulip Sean (Feb 07 2023 at 19:52):

You do! This looks really fantastic guys. Nice work, especially cleaned things up on mobile.

view this post on Zulip Divyanshu Garg (Feb 07 2023 at 19:54):

Thank you :raised_hands:
I will try to be careful while deploying this

Is there anything specific I need to take care of before doing this?

view this post on Zulip Sean (Feb 07 2023 at 19:54):

Let me know if you need help with the deployment or with permissions but should both have access I believe. If not, we can fix that too. Do retain/archive all the old site files just in case. They can reside in a folder like the beta sites.

view this post on Zulip Sean (Feb 07 2023 at 19:55):

Nothing specific comes to mind. It’s not talking to a database, right?

view this post on Zulip Divyanshu Garg (Feb 07 2023 at 19:56):

No database

view this post on Zulip Divyanshu Garg (Feb 07 2023 at 19:57):

I will keep a backup of everything we update and of course move the current site to beta or any other similar place

view this post on Zulip Sean (Feb 07 2023 at 19:57):

Didn’t think so.. but that’d be the only issue that could cause complications I can think of.

view this post on Zulip Divyanshu Garg (Feb 07 2023 at 19:58):

Then I think its all good
I will try to get this done asap

view this post on Zulip Sean (Feb 07 2023 at 19:58):

Perfect timing. :)

view this post on Zulip Himanshu (Feb 08 2023 at 04:35):

Divyanshu Garg said:

https://brl-cad-web.vercel.app/

Looks clean and simple. Good design. :tada:

view this post on Zulip Himanshu (Feb 08 2023 at 04:38):

btw linkedln link directs to Sean profile. :thinking:

view this post on Zulip Amanjot Singh (Feb 08 2023 at 05:27):

Divyanshu Garg said:

https://brl-cad-web.vercel.app/

Awesome, I also think it's the perfect time to make this website live :D

Let's get this done in this week. I'm EXCITED!!!

view this post on Zulip Divyanshu Garg (Feb 08 2023 at 06:23):

Himanshu Sekhar Nayak said:

btw linkedln link directs to Sean profile. :thinking:

Thanks @Himanshu Sekhar Nayak :grinning_face_with_smiling_eyes:

Yeah It does but the URL says https://www.linkedin.com/in/brlcad, so I m thinking this one is intentional

view this post on Zulip Divyanshu Garg (Feb 08 2023 at 06:24):

Amanjot Singh said:

Divyanshu Garg said:

https://brl-cad-web.vercel.app/

Awesome, I also think it's the perfect time to make this website live :grinning:

Let's get this done in this week. I'm EXCITED!!!

Awesome!
Can't wait getting this done :grinning_face_with_smiling_eyes:

view this post on Zulip Divyanshu Garg (Feb 08 2023 at 20:19):

Screenshot-2023-02-09-at-1.46.04-AM.png
Just tested performance using lighthouse, Currently deployed on testing server :grinning_face_with_smiling_eyes:

view this post on Zulip Divyanshu Garg (Feb 08 2023 at 20:22):

I am still not completely okay with those yellow circles
Will send an update soon to make em all green :grinning_face_with_smiling_eyes:

view this post on Zulip Sean (Feb 08 2023 at 20:23):

Those are both debatable, but certainly won’t typically hurt to get them all green.

view this post on Zulip Sean (Feb 08 2023 at 20:24):

Will be informative to compare with performance on our brlcad.org hardware.

view this post on Zulip Sean (Feb 08 2023 at 20:24):

We have a new server that is much faster but I’ve not yet completed the migration.

view this post on Zulip Divyanshu Garg (Feb 08 2023 at 20:26):

The performance is kind of similar
Screenshot-2023-02-09-at-1.55.28-AM.png

view this post on Zulip Sean (Feb 08 2023 at 20:27):

Looks like half the speed

view this post on Zulip Sean (Feb 08 2023 at 20:27):

Half to a third

view this post on Zulip Sean (Feb 08 2023 at 20:28):

But maybe apples oranges as it’s not the same aite

view this post on Zulip Sean (Feb 08 2023 at 20:28):

Site

view this post on Zulip Divyanshu Garg (Feb 08 2023 at 20:29):

Yep :grinning_face_with_smiling_eyes:

view this post on Zulip Divyanshu Garg (Feb 08 2023 at 20:30):

Sean said:

We have a new server that is much faster but I’ve not yet completed the migration.

So if the site is deployed on the current server, then its automatically migrated on the newer one right?

view this post on Zulip Sean (Feb 08 2023 at 20:31):

Yeah I run a sync script

view this post on Zulip Divyanshu Garg (Feb 08 2023 at 20:32):

Great!

view this post on Zulip Sean (Feb 08 2023 at 20:32):

That’s part why the migration isn’t finished. The validation takes a really long time.

view this post on Zulip Sean (Feb 08 2023 at 20:33):

Plus just so busy .. need to get back in it asap

view this post on Zulip Divyanshu Garg (Feb 08 2023 at 20:34):

Yea, server migrations can be a lot more painful, and even more if the data is huge

view this post on Zulip Divyanshu Garg (Feb 08 2023 at 21:36):

https://github.com/divyanshugarg36/brl-cad-web/pull/46

view this post on Zulip Divyanshu Garg (Feb 08 2023 at 21:36):

Here is the performance PR :stuck_out_tongue:

view this post on Zulip Divyanshu Garg (Feb 08 2023 at 21:37):

this increases the score more

view this post on Zulip Divyanshu Garg (Feb 09 2023 at 06:33):

Screenshot-2023-02-09-at-12.03.09-PM.png
Latest scores

view this post on Zulip Divyanshu Garg (Feb 09 2023 at 19:17):

@Amanjot Singh
https://github.com/divyanshugarg36/brl-cad-web/pull/48
Another PR for upgrading the nextjs version

view this post on Zulip Divyanshu Garg (Feb 10 2023 at 20:39):

Hey @Sean
I have successfully deployed the project on https://beta.brlcad.org/
Currently, we have to work on image optimization as after creating apache compatible build we lost the automatic image optimization capabilities that Next.js provides, Not a big issue.

Will move to brlcad.org tomorrow...

view this post on Zulip Divyanshu Garg (Feb 10 2023 at 20:41):

Uploading Screenshot 2023-02-11 at 2.10.54 AM.png…
Here are the scores

view this post on Zulip Divyanshu Garg (Feb 11 2023 at 18:16):

Deploying :grinning_face_with_smiling_eyes:

view this post on Zulip Divyanshu Garg (Feb 11 2023 at 18:57):

Finally, the site is deployed!
It feels so amazing getting this all done.

view this post on Zulip Divyanshu Garg (Feb 11 2023 at 18:58):

The previous one is backed up inside old_backup_2021

view this post on Zulip Amanjot Singh (Feb 12 2023 at 05:38):

AMAZING JOB @Divyanshu Garg !!! It's looking so great :fire:

PS I have approved the last PR that you made ready yesterday. You can merge that as well.

view this post on Zulip Komal S (Feb 15 2023 at 04:53):

Hi, this is Komal Sambhus, a student from Mumbai, India. I am interested in participating in GSoC 2023 from BRL-CAD. Can anyone give me some resources or good first issues to start with since I am new to Open Source? Thank you in advance

view this post on Zulip Himanshu (Feb 16 2023 at 05:06):

Komal S said:

Hi, this is Komal Sambhus, a student from Mumbai, India. I am interested in participating in GSoC 2023 from BRL-CAD. Can anyone give me some resources or good first issues to start with since I am new to Open Source? Thank you in advance

Hi Komal. Welcome to our organization.

If you have a question, don't hesitate to ask. We will be happy to help.

view this post on Zulip Himanshu (Feb 16 2023 at 05:07):

Btw move to other channel if you have anything to ask.

view this post on Zulip Divyanshu Garg (Mar 07 2024 at 17:29):

BRL-CAD Web Repository upgraded https://github.com/divyanshugarg36/brl-cad-web/pull/49

view this post on Zulip Divyanshu Garg (Mar 19 2024 at 08:15):

Hey @Amanjot Singh
If you are available, can you please give this PR a review?
We can merge this and deploy the latest update on the server
I am also planning some new changes and improvements to the project will create some issues soon and start working on it

view this post on Zulip Amanjot Singh (Mar 19 2024 at 08:16):

Sure, @Divyanshu Garg I will check this out today. Thanks for the PR

view this post on Zulip Amanjot Singh (Mar 21 2024 at 19:30):

@Divyanshu Garg I merged that PR yesterday. Good job with the upgrade to the new version of Next.

view this post on Zulip Sean (Mar 23 2024 at 22:22):

@Divyanshu Garg Have you had a chance to look at integrating the new docs site with the website? This was the work Dashamir worked on right around the same time as your project.

view this post on Zulip Divyanshu Garg (Mar 27 2024 at 06:34):

@Sean I havent checked it yet, but I will look for it on Github and send some updates

view this post on Zulip Divyanshu Garg (Apr 08 2024 at 06:38):

Hey @Sean can you please share the documentation content we discussed during the meeting?

view this post on Zulip Sean (Apr 08 2024 at 14:20):

@Divyanshu Garg yes, it's at https://github.com/BRL-CAD/brlcad-docs/tree/main and I believe this is the latest deployment is live here: https://brl-cad.github.io/docs/

The site is currently a fork of the docs, so we'd need to figure out how to unify them -- e.g., delete from the main repo but then still have a simple means to generate the necessary manual pages and other products for source/binary builds off the main repo.

view this post on Zulip Divyanshu Garg (May 05 2024 at 20:02):

Here is a glance at the pointers and planning of the updates that were discussed over the call
I will be updating this document with more brainstorming ideas.

https://jerrymouse.notion.site/BRL-CAD-Web-Plan-2024-f21d06cb8d7f4a5cab102783c167670e

Feel free to drop comments for more inputs :grinning_face_with_smiling_eyes:

CC @Sean @Amanjot Singh

view this post on Zulip Vidit Jain (May 28 2024 at 15:20):

(deleted)

view this post on Zulip Vidit Jain (May 28 2024 at 15:20):

Himanshu said:

Vidit Jain said:

I was trying to use the select primitive feature of arbalest. For me its working fine.. can you tell me what exactly the issue is?
I am thinking of taking up that issue next. If you all want we can work on something else as well. Himanshu Daniel Rossberg Amanjot Singh

Yes, the mouse select option is working I saw it today. It doesn't work for me when it is full screen idk why but works fine when I restore down.

Yaa, for me as well sometimes its working and sometimes its not. Its very weird

view this post on Zulip Divyanshu Garg (Oct 16 2024 at 19:07):

Just a minor update on the issue we are facing with the deprecated packages in the gallery section
I just tested out the latest version the of library we are using to manage pictures...
Will update/replace the existing build with the latest version.

view this post on Zulip Divyanshu Garg (Oct 18 2024 at 07:47):

Hey @Sean
I am working on updating the piwigo deployment for the gallery
Can you please share the admin creds of the deployment so that I can test it out before and after updating...
Thanks

view this post on Zulip Sean (Oct 20 2024 at 05:57):

Thank you for offering! I think you already have access on the server side, but I will check.

view this post on Zulip Divyanshu Garg (Oct 20 2024 at 05:58):

Hey Sean, i meant the Piwigo admin credentials, i do have the server access

view this post on Zulip Divyanshu Garg (Oct 22 2024 at 11:58):

Hey @Sean pinging for this :point_up:
Thanks!

view this post on Zulip Divyanshu Garg (Oct 27 2024 at 19:09):

The server is getting slow, like a turtle slow
Took me 1+ hour to zip 800mbs of data :tear:

view this post on Zulip Divyanshu Garg (Nov 06 2024 at 19:46):

image.png
:tear: Already running for past 40 Mins


Last updated: Nov 15 2024 at 00:49 UTC