alfio-event / alf.io-public-frontend Goto Github PK
View Code? Open in Web Editor NEWFrontend for the public part of alf.io
License: GNU General Public License v3.0
Frontend for the public part of alf.io
License: GNU General Public License v3.0
currently on master.
Currently, the globalErrors (with ErrorDescriptor type) don't display the arguments.
Currently not used, but could be useful
See #3. Currently they have been disabled. Search for [attr.maxlength]...
the current language selector (which is the short 2 letter iso code) is not that comprehensible.
See https://uxdesign.cc/my-take-on-language-selectors-945caceb58f7 as an initial take on the issue, as improving our multi language capability is quite important!
See also:
We should display the privacy policy (if any) and t&c links in the event page, so that people can click and check them
We should restore the "expired categories" section on the event page.
This should be hidden if the DISPLAY_EXPIRED_CATEGORIES setting is false
We first need to wait the following dependencies:
User should be able to select the country by typing the name of the country as well as its code
as the user will continually bounce from / to /event/my-event automatically
We are using it for only 2 components:
https://github.com/ngneat/transloco as ngx-translate is currently in limbo.
in the old version we have:
<div class="wMarginBottom wMarginTop text-muted">
{{#i18n}}reservation-page.paypal.description{{/i18n}}
{{#demoModeEnabled}}
<p>{{#i18n}}reservation-page.paypal.demo [{{paypalTestUsername}}] [{{paypalTestPassword}}]{{/i18n}}</p>
{{/demoModeEnabled}}
</div>
<script src="{{request.contextPath}}/resources/js/payment/paypal.js" defer async></script>
{{#tokenAcquired}}
<div class="alert alert-success">
<h3><i class="fa fa-check"></i> {{#i18n}}reservation-page.paypal.confirm{{/i18n}}</h3>
</div>
{{/tokenAcquired}}
We must display the token acquired part
and in the overview page ( https://github.com/alfio-event/alf.io/blob/2.0-M1-1906.1/src/main/webapp/WEB-INF/templates/event/overview.ms ) the submit button is:
{{#tokenAcquired}}
{{#i18n}}reservation-page.confirm-button{{/i18n}}
{{/tokenAcquired}}
"Do you have any promotional/partner code" becomes a link, aligned to the right.
By clicking on it an input field + "Apply" buttons are displayed in place of the link.
something generated like https://sharingbuttons.io/ .
Currently, in the language.guard.ts guard if no matches are present, it will pick the first one:
else {
lang = availableLanguages[0];
}
As an improved heuristic, we can first try to search for english, as it's normally the lingua franca.
As a future improvement, an Event could have a default language.
We first need to wait the following dependencies:
It seems that even though the event does not have the fully configured invoice setting, it seems to be visible anyway in the ui.
But in the end, it will generate a receipt instead of the invoice requested by the user.
Check where is the inconsistency
The event list page will be changed in the following way: 2 sections.
First section "Events" with: up to next 4 events. If more -> display a "more" button.
Second section: "Subscriptions" with: up to 4 subscriptions. If more -> display a "more" button.
Create a new list all events page which is linked by the more button. -> display paginated 20 events(client side) + client side search
Create a new list all subscription page which is linked by the more button.
More compact event view.
We can also add the support of tags for filtering for events.
Options from Font Awesome free:
this is useful for sharing with the correct locale
/*address: {
) see https://github.com/alfio-event/alf.io-public-frontend/blob/master/src/app/payment/stripe-payment-proxy/stripe-payment-proxy.component.ts#L238Additional fields:
note:
use of showNoCategoriesWarning :
https://github.com/alfio-event/alf.io/blob/2.0-M1-maintenance/src/main/webapp/WEB-INF/templates/event/show-event.ms#L125
use of containsExpiredCategories:
https://github.com/alfio-event/alf.io/blob/2.0-M1-maintenance/src/main/webapp/WEB-INF/templates/event/show-event.ms#L130
The ui does not show any warning message if there are ticket categories available.
Enable ivy, note: we have an issue with maxlength, see comment below.
As a workaround, we have removed them...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.