New UserCP Landing Page (version 0.48)


 
Thread Tools Search this Thread
The Lounge What is on Your Mind? New UserCP Landing Page (version 0.48)
# 1  
Old 03-04-2019
New UserCP Landing Page (version 0.48)

There is a know bug deep in the Javascript library
Code:
d3.js

which causes an intermediate charting rendering bug in Vue.js. In a nutshell, when a page is reloaded the chart data is not rendered sometimes, but when the Vue.js route changes (a menu item in the UserCP is selected), it works flawlessly.

After working on the bug for two days, I had decided to "move on" for now and so I changed the landing page for the new prototype UserCP to land on a page which does not have big line chart for now.

So, in UserCP version 0.48 there is a new landing page:

Code:
https://www.unix.com/cp/index.php#/landing

and this landing page at the moment is the same as the "My Dashboard" page minus the big chart at the top.

To see the big chart at the top, if you navigate to the "My Dashboard" page, it works as it should.

I spent a lot of time reading various bug reports and discussions about this "deep d3 bug" and instead of spending more time on this, the way forward at this time seems to create landing page without these big charts. This also speed up initial loading time a bit since there is no big chart to render on landing.

Later I will change the landing page and / or the my dashboard pages around so they are not so similar. But I want to see how it performs live and debug a bit more before I make a commitment to the new landing page.

Cheers.
This User Gave Thanks to Neo For This Post:
# 2  
Old 03-04-2019
Hmmmm ....

I may have found a workaround.

A new update is on the way,
# 3  
Old 03-04-2019
Update: So have found a way to get the main forum dashboard to render the chart on page reload, so I have reverted back to the original setup in this v0.49 where the landing page is the forum dashboard, and we navigate to the user dashboard, as this works properly and all charts render without error.
# 4  
Old 03-04-2019
Update:

In version 0.50 I have dropped the requirement for PHP in the new usercp app; and so you can visit the usercp:

Code:
https://www.unix.com/usercp/

The old PHP link will work for the time being; but eventually it will go away since I've redesigned the code not to need PHP in the routing.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. What is on Your Mind?

New UserCP Update Profile Image Page (UserCP Screeching Frog 0.7485)

Update! UserCP Screeching Frog 0.7485 Created a new page for uploaded a profile picture (profile pictures are different than avatar pictures). https://www.unix.com/usercp/#/settings/other https://www.unix.com/members/1-albums225-picture1158.png ... (0 Replies)
Discussion started by: Neo
0 Replies

2. What is on Your Mind?

My Badges Page - A Major UserCP Update (v0.661):

Another major upgrade on the new UserCP today. I have created the "My Badges" page in the new control panel, and it's looking very cool :) If you have visited the new UserCP recently, you will more-than-likely need to close your browser (completely) and then restart it to clear out the old... (2 Replies)
Discussion started by: Neo
2 Replies

3. Web Development

MySQL Query to Build Mockup Vue.js UserCP Timeline Page

Here is the query (and some sample results) I plan to use to build a new timeline page in the mockup vue.js usercp I am working on. When the postid is the same as lastpostid, this means the timeline entry will be - "{{Member}} Started Discussion {{Thread Title}} at {{date and time}}" and when... (4 Replies)
Discussion started by: Neo
4 Replies

4. Web Development

Vue.js UserCP Mockup Version 0.20 - Badge Notifications

Vue.js UserCP Mockup Version 0.20 - Badge Notifications https://www.unix.com/cp/index.php#/dashboardIn this mockup release: Badge Notifications are working with live data: Upper Right (see image) Added Axios to Vue and changed large table updates to axios (ajax) Note: Will reformat... (2 Replies)
Discussion started by: Neo
2 Replies

5. Linux

Where are people landing on the sytemd debate?

My two primary distros are Gentoo and Debian and I'm a fan of the older more traditional init system but as we all know Debian is moving to systemd. Not sure how impartial the crowd is here but I'd like to hear people's opinions. (4 Replies)
Discussion started by: Swathe
4 Replies

6. Shell Programming and Scripting

Print multiple copies page by page using lp command

Hi I have a pdf file that is being generated using the rwrun command in the shell script. I then have the lp command in the shell script to print the same pdf file. Suppose there are 4 pages in the pdf file , I need to print 2 copies of the first page, 2 copies of the second page , then 2... (7 Replies)
Discussion started by: megha2525
7 Replies

7. UNIX and Linux Applications

mediawiki page won't load - fedora 16, MediaWiki version 1.18.2

I created a mediawiki page and it was completely working and I had multiple pages within it. When I edited the $wgLogo = " "; to something I wanted (I put the link to the picture within " ") I had to edit the logo on the top right but now I can't even load any of my pages, I may have... (10 Replies)
Discussion started by: kelth
10 Replies

8. Red Hat

mediawiki page won't load - fedora 16, MediaWiki version 1.18.2

I created a mediawiki page and it was completely working and I had multiple pages within it. When I edited the $wgLogo = " "; to something I wanted (I put the link to the picture within " ") I had to edit the logo on the top right but now I can't even load any of my pages, I may have touched... (1 Reply)
Discussion started by: kelth
1 Replies

9. Shell Programming and Scripting

Landing location after FTP.

Hi, I have a requirement that my server receives files from a third party. For this a new user(vendor) has been created and given to the vendor with the default home directory as /home/vendor on my server where he will be placed as soon as he logs into my server. Due to space issues on /home I... (2 Replies)
Discussion started by: bubba27
2 Replies

10. Shell Programming and Scripting

Script execution dependent upon a file landing in a certain directory

Hi all, I'm looking to write a script that is dependent upon the existence of 2 files each in separate directories. My thought was to do: **psuedo code ** execute script check directory 1 for file1 if file exists then execute script 2 ( checking directory 2 for file 2) else... (3 Replies)
Discussion started by: keladar
3 Replies
Login or Register to Ask a Question