-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: change open-event to eventyay for small screens #3626
Conversation
app/templates/components/nav-bar.hbs
Outdated
@@ -48,7 +48,7 @@ | |||
<i class="large content icon"></i> | |||
</a> | |||
{{#link-to 'index' class='item' activeClass=''}} | |||
<div class="ui header small text">{{config.appName}}</div> | |||
<div class="ui header small text">eventyay</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert this and change eventyay to {{config.appName}}
wherever found in the project
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert this and change eventyay to
{{config.appName}}
wherever found in the project
Okk i will work on this.
But since we always have to show eventyay there, i think that there is nothing wrong in directly writing eventyay.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since we always have to show eventyay there
Who said that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not eventyay repository, this is open-event-frontend, eventyay is an instance of open-event.
Same difference as Chromium vs Chrome.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okk
This is not eventyay repository, this is open-event-frontend, eventyay is an instance of open-event.
Same difference as Chromium vs Chrome.
okk
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert this and change eventyay to
{{config.appName}}
wherever found in the projectOkk i will work on this.
But since we always have to show eventyay there, i think that there is nothing wrong in directly writing eventyay.
We want to show app name here which is entered in admin panel.
Make it settings.appName
@kushthedude changed eventyay |
app/templates/components/nav-bar.hbs
Outdated
@@ -48,7 +48,7 @@ | |||
<i class="large content icon"></i> | |||
</a> | |||
{{#link-to 'index' class='item' activeClass=''}} | |||
<div class="ui header small text">{{config.appName}}</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use config please. Settings is asynchronous so it'll take time to show up
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are using settings for various importing the name and tagline for the appName and various other input we need.
Also setting is globally injected into app as services, So it should not make much of a difference.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also setting is globally injected into app as services, So it should not make much of a difference.
I don't know any of that. I know that an AJAX request is made for that. This thinking has lead to how slow the app is.
And if settings are meant to be used here, why is there an option of config.appName?
Also, this is not where you need to change anything, You need to replace hardcoded eventyay to config.appName |
I dont know where the config.appName came from as when displaying in wide
screen too we are using the setting.appName. That is why we have a name and
tagline field defined in settings for this purpose. Not everyone who uses
open event as a product will change the config. There are lot of reasons
for the slow down of application, that you already have known better than
me.
…On Mon, 18 Nov, 2019, 16:45 Areeb Jamal, ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In app/templates/components/nav-bar.hbs
<#3626 (comment)>
:
> @@ -48,7 +48,7 @@
<i class="large content icon"></i>
</a>
{{#link-to 'index' class='item' activeClass=''}}
- <div class="ui header small text">{{config.appName}}</div>
Also setting is globally injected into app as services, So it should not
make much of a difference.
I don't know any of that. I know that an AJAX request is made for that.
This thinking has lead to how slow the app is.
And if settings are meant to be used here, why is there an option of
config.appName?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3626?email_source=notifications&email_token=AKQMTLSNYFWVSNY4F6753FTQUJ2ONA5CNFSM4JOE74JKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCL4DU6A#discussion_r347324419>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKQMTLVQ74VZR43547YZZ2TQUJ2ONANCNFSM4JOE74JA>
.
|
I see. Interesting thing to note is already config.appName is used in mobile row. Why is the open event getting shown in place kf eventyay |
@iamareebjamal changed config.appname from 'open-event' to eventyay |
config/environment.js
Outdated
@@ -10,7 +10,7 @@ function getSentryServer(dsn, withProtocol = true) { | |||
|
|||
module.exports = function(environment) { | |||
let ENV = { | |||
appName : process.env.APP_NAME || 'Open Event', | |||
appName : process.env.APP_NAME || 'eventyay', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are you going in completely opposite direction and making it even worse? Read the repository name. eventyay is an instance. Open Event is the project. I don't understand how to make it more clear
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are you going in completely opposite direction and making it even worse? Read the repository name. eventyay is an instance. Open Event is the project. I don't understand how to make it more clear
@iamareebjamal So you are saying that open event is written there intentionally and you want me to change existing eventyay to config.appname i.e. 'Open Event'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Absolutely!
@iamareebjamal |
@@ -1,7 +1,7 @@ | |||
<div class="mobile hidden row"> | |||
<div class="ui menu"> | |||
{{#link-to 'index' class='header item' activeClass=''}} | |||
<h3>{{settings.appName}}</h3> | |||
<h3>{{config.appName}}</h3> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are you changing Mobile Hidden Row
, Change the name in Mobile Row
to settings.appName
. That's it.
@iamareebjamal Talking about the global injection of settings that can be handled later once this PR is done.
Stale ? |
Please feel free to reopen when you have addressed the requested change. |
@himanshu010 , if you approve I would like to work on this issue. |
@kushthedude #3715 is my new pull request |
Fixes #3620
Short description of what this resolves:
change open-event to eventyay for small screens in navbar
screenshot :
Checklist
development
branch.