Skip to content

Releases: iter-idea/IDEA-Ionic8-extra

Suggestions: show details as default

03 Feb 14:06
Compare
Choose a tag to compare
  • Common. In the suggestions component, the default behaviour now is to show the details of the elements (previously, the default was "hide"); this applies only when there is some detail to show.

Editor: fix on adding images

29 Jan 16:30
Compare
Choose a tag to compare

Auth: OKTA as external provider for Cognito

23 Jan 17:25
Compare
Choose a tag to compare

Fix on editor icons

23 Jan 13:49
Compare
Choose a tag to compare
  • [Bug]: IDEA Html Editor doesn't display buttons #105

Module editor and new common components

30 Dec 11:09
Compare
Choose a tag to compare
  • Common. Chip checker component (preview).
  • Common. Inline checker component (preview).
  • Common. Tooltip component (preview).
  • Editor. HTML editor module (preview).

Common: Attachments

24 Dec 17:55
Compare
Choose a tag to compare
  • Common. Components and service to easily manage attachments following IDEA's latest standards.

Automated Testing (AT) support

13 Dec 17:05
Compare
Choose a tag to compare
  • General. On every page of the modules, we added a testId field to be used for Automated Testing in projects.

Moving to standalone components and "uncommon" package

24 Oct 08:39
Compare
Choose a tag to compare

Standalone components vs modules

In preparation for Angular 19, we separated the repository into two branches.

  1. The main one (rif. v8.2.x — in the future v9.x.x) mainly works with standalone components and the new Angular compiler; for this reason, when updating, most of the imports will change from modules to components; Agenda and Auth0 are the only packages that will continue working with modules. This newer version is faster, lighter and follows the latest Angular standards. You can use this version also in applications organized in modules, but we suggest refactoring to use standalone components to get the most out of it in terms of performance. HERE you can find an upgrade guide.
  2. The modules branch (rif. v8.1.x) will continue working with modules; today, there are no differences in features compared with the main branch.

What's new

  • Common. App Status can now be used via asset (to avoid complex back-end infrastructures); this is the new default and suggested method, though upgrading is optional. Follow this document for all the information and the upgrade guide.

General breaking changes

  • Common. App Status has a new default method via asset (vs via API); to continue working with the API method, operate the following change in the init.guard:
    // before
    await _appStatus.check();
    // after
    await _appStatus.check({ viaApi: true });
  • Common. The Ionic custom colours: dark, white, ideaToolbar and transparent now have a default value from @idea-ionic/common's global stylesheet (both for dark and light appearances). The same goes for the --ion-text-color-step-NNN and --ion-background-color-step-NNN. If the default values match your project's, you can (and should) safely remove their definition from the variables global stylesheet.

Breaking changes in moving to standalone components (v8.2.x)

To modernize and lighten @idea-ionic/common, we removed the least used/obsolete modules (not used in recent projects); to preserve the latter for compatibility with old projects, we created the @idea-ionic/uncommon, where they have been moved the following pieces:


  • General. Add to the project's AppComponent:
    import { addIcons } from 'ionicons';
    import * as icons from 'ionicons/icons';
    
    // ...
    constructor() {
      addIcons({ ...icons });
    }
  • General. If you still use modules (otherwise you've done this step already), add the following provider to the list in the app.module.ts:
    providers: [
      provideIonicAngular({ mode: 'md' }),
      //...
  • Uncommon. If your project needs components from the uncommon package, remember to install it and import translations and CSS. You will have to fix the imports of those components from @idea-ionic/common to @idea-ionic/uncommon. Finally, if you directly use in your project's code the "IDEA_COMMON" translations of components that have been moved to the uncommon package, you should rename the translation prefix to "IDEA_UNCOMMON".
  • Common. IDEAActionSheetModule must be removed from any import (especially in the app.module.ts), as it's no longer needed; you can continue using the IDEAActionSheetController as you do today (the component and service are now standalone and don't need a module).
  • Common. IDEATranslationsModule is now deprecated since its internal pipes and service are now standalone and don't need a module. You should import directly the pipes that you use (no need to import the service): label, translate, dateLocale. Nevertheless, since the module is used in every other module in our apps, we didn't remove it right away but kept it for backward compatibility.
  • Every package. All the IDEAXYZModule (except for Agenda and Auth0) must be removed from any import, and the components (or pipes) IDEAXYZComponent must be imported instead.
  • Every package. Importing the routes for IDEAXYZModule becomes (except for Agenda and Auth0):
    // before:
    loadChildren: (): Promise<any> => import('@idea-ionic/package').then(m => m.IDEAXYZModule),
    // after:
    loadChildren: (): Promise<any> => import('@idea-ionic/package').then(m => m.ideaXYZRoutes),

Agenda: support for target (customer)

03 Oct 09:51
Compare
Choose a tag to compare

This release represents a stable version after Ionic v8-related changes.

  • Agenda. Support for target (customer) field.
  • Common. "Linkify" pipe to make URLs clickable in texts.

Ionic 8

23 Jul 09:29
Compare
Choose a tag to compare

Breaking changes

The cloud app needs to be updated to Angular 18, Ionic 8 and Capacitor 6.
Please refer to this guide to upgrade.