[App] ERPNext Full-Size View for all (e.g. Reports, Gant Charts, etc)

When you’re in Metabase, go to the share option for the dashboard and copy the public embed code.

2 Likes

Thank You for your response

. I saw this and done that but i needed to do this first;
Insert this code snippet in your server code to generate the signed embedding URL
Python

You’ll need to install PyJWT via pip ‘pip install PyJWT’ or your project packages file

import jwt

METABASE_SITE_URL = “http://34.235.103.42:3000
METABASE_SECRET_KEY = “da64be44a1bf50168e32ccca1582b787e75ebca28ff5cd5aa700abd5d9ae2490”

payload = {
“resource”: {“dashboard”: 1},
“params”: {

}
}
token = jwt.encode(payload, METABASE_SECRET_KEY, algorithm=“HS256”)

iframeUrl = METABASE_SITE_URL + “/embed/dashboard/” + token + “#bordered=true&titled=true”

Before this;

But my issue is that how do i locate my SERVER CODE to know where to paste … When it comes to things like Server i am always careful so as not to crash the whole Server. Any help on this Please

Thank You @Malcolm_Wilson for your response

. I saw this and done that but i needed to do this first;

Insert this code snippet in your server code to generate the signed embedding URL

Python

You’ll need to install PyJWT via pip ‘pip install PyJWT’ or your project packages file
import jwt

METABASE_SITE_URL = “http://34.235.103.42:3000

METABASE_SECRET_KEY = “da64be44a1bf50168e32ccca1582b787e75ebca28ff5cd5aa700abd5d9ae2490”

payload = {

“resource”: {“dashboard”: 1},

“params”: {

}

}

token = jwt.encode(payload, METABASE_SECRET_KEY, algorithm=“HS256”)

iframeUrl = METABASE_SITE_URL + “/embed/dashboard/” + token + “#bordered=true&titled=true”

Before this;

But my issue is that how do i locate my SERVER CODE to know where to paste … When it comes to things like Server i am always careful so as not to crash the whole Server. Any help on this Please

Hello

How do I install this wonderful addon?

Thanks

Hi @Jason_Lin

Go to your server-console and change the directory to

frappe/frappe-bench

then run:

$ bench get-app https://github.com/libracore/fullsize
$ bench install-app fullsize
$ bench migrate
$ bench restart

…and have fun :wink:

3 Likes

I’ve just updated the app.
From now on, the function can be called via a list element and no longer via an ugly button :wink:

grafik

just pull the new version from

7 Likes

THank you for your reply. Didnt know erpnext had such feature

I really want this on the hosted version of ERPNext. ERPNext Team, can you allow that?

2 Likes

Any conceivable feature is possible as long as someone takes the time and programs it :wink:

2 Likes

Hello

I got an issue. How do I install it to my site.

sudo bench install-app fullsize --site mydomain

I get an error that --site is not an option.

Thanks

You use an wrong synthax.

Correct is:

Sudo bench --site myDomain install-app fullsize

But --site is not required if you have just one site :wink:

1 Like

I see… haha

havent touched the terminal for a long time

thanks :slight_smile:

Got it working… Thank you so much for this great plug in.

I am going to study your code and try to make the fonts bigger

Youre welcome…

Hope you will like it :slight_smile:

That should not be a big problem, you can also create an issue (feature request) on github, for example for settings like font size.

So i could implement the feature for all users of fullsize…

Created an issue in github :slight_smile:

1 Like

Great. Maybe you can answer my question on github, then i will check it this evening…

Just had a chance to test. It really helps the UI. Excellent idea to place the Full-size/Normal-size toggle in the user drop down menu.
+1 for the option to enlarge the font by a size when in full-size view.

1 Like

@Jason_Lin @System19

I’ve implemented your feature request with release v1.1.0

Go in your server-console to directory

Frappe/frappe-bench/apps/fullsize

Run

$ sudo git pull upstream master

Change directory to

frappe/frappe-bench

Run

$ sudo bench migrate
$ sudo bench restart

And have fun :slight_smile:

The soloution is at the moment not perfect, if you change to the listview of another doctype, you have to resize the screen again to set the new font-size. But except this, it works fine :slight_smile:

1 Like

Just amazing :slight_smile:
Thank you again.

One Issue is that the fonts in table does not increase.
See screenshot