Location: Asia Pacific, Cyberspace, in the Dark Dystopia
Posts: 19,118
Thanks Given: 2,351
Thanked 3,359 Times in 1,878 Posts
New UserCP Landing Page (version 0.48)
There is a know bug deep in the Javascript library
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.
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.
Location: Asia Pacific, Cyberspace, in the Dark Dystopia
Posts: 19,118
Thanks Given: 2,351
Thanked 3,359 Times in 1,878 Posts
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.
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)