MishkaCmsMigrationWeb. Live. Admin. Dashboard. PasswordNotice
(Mishka CMS Migration v0.0.1)
Copy Markdown
View Source
The warning for the users an import created (MishkaCmsMigration.Targets.BlogBlogger): a
source's password hashes cannot be carried over, so such a user signs in with Forgot password or
a social sign-in. Both parts draw it as the admin's own warning (Gervaz's :warning alert,
MishkaGervaz.UIAdapters.Tailwind.alert/1), as MishkaCmsMigrationWeb.Live.Admin.Dashboard.LanguageNotice
does:
run/1in a run's expanded row (MishkaCmsMigrationWeb.Live.Admin.Dashboard.Home.RunDetails), with how many users the run created, and nothing for none;item/1in an item's expanded row (MishkaCmsMigrationWeb.Live.Admin.Dashboard.Item.Index), for the item of a user the import created (MishkaCmsMigration.MigrationItem'sreasonis"user_created"), and nothing for any other.
created/2 counts the users of the run's source an import created, with one query.
Summary
Functions
How many users the import of run created, read as user under the run's site.
The warning for the item of a user an import created, or nothing for any other item.
The warning for a run that created count users, or nothing for none.
Functions
@spec created(MishkaCmsMigration.MigrationRun.t(), map()) :: non_neg_integer()
How many users the import of run created, read as user under the run's site.
The warning for the item of a user an import created, or nothing for any other item.
Attributes
item(MishkaCmsMigration.MigrationItem) (required) - the item, with its reason.
The warning for a run that created count users, or nothing for none.
Attributes
count(:integer) (required) - how many users the run created.class(:string) - extra classes of the warning's box. Defaults tonil.