bug fixes

This commit is contained in:
sairaj mote 2022-10-18 16:48:04 +05:30
parent 7da461307e
commit 9f6d08eabb
6 changed files with 12 additions and 6 deletions

View File

@ -876,6 +876,10 @@ ul {
fill: rgba(0, 0, 0, 0.8); fill: rgba(0, 0, 0, 0.8);
} }
#task_details {
overflow-y: auto;
padding-bottom: 3rem;
}
#task_details > * { #task_details > * {
justify-self: center; justify-self: center;
width: min(64rem, 100%); width: min(64rem, 100%);

2
css/main.min.css vendored

File diff suppressed because one or more lines are too long

View File

@ -866,6 +866,8 @@ ul {
} }
#task_details { #task_details {
overflow-y: auto;
padding-bottom: 3rem;
& > * { & > * {
justify-self: center; justify-self: center;
width: min(64rem, 100%); width: min(64rem, 100%);

View File

@ -331,7 +331,7 @@
</p> </p>
</div> </div>
</section> </section>
<div id="project_list_container"> <div id="project_list_container" class="hidden">
<div class="flex align-center space-between margin-bottom-0-5"> <div class="flex align-center space-between margin-bottom-0-5">
<h4>Projects</h4> <h4>Projects</h4>
<a href="#/project_explorer" class="button open-first-project">All</a> <a href="#/project_explorer" class="button open-first-project">All</a>
@ -2720,7 +2720,7 @@
if (e.target.closest('.send-update-button')) { if (e.target.closest('.send-update-button')) {
const taskCard = e.target.closest('.task-card') const taskCard = e.target.closest('.task-card')
currentTaskId = taskCard.dataset.uniqueId currentTaskId = taskCard.dataset.uniqueId
const { projectCode, branch, task } = floGlobals.assignedTasks.get(currentTaskId) const [projectCode, branch, task] = currentTaskId.split('_')
getRef('update_of_project').textContent = RIBC.getProjectDetails(projectCode).projectName getRef('update_of_project').textContent = RIBC.getProjectDetails(projectCode).projectName
getRef('update_of_task').textContent = RIBC.getTaskDetails(projectCode, branch, task).title getRef('update_of_task').textContent = RIBC.getTaskDetails(projectCode, branch, task).title
openPopup('post_update_popup') openPopup('post_update_popup')
@ -2853,7 +2853,7 @@
} }
function postUpdate() { function postUpdate() {
const { projectCode, branch, task } = floGlobals.assignedTasks.get(currentTaskId) const [projectCode, branch, task] = currentTaskId.split('_')
const description = getRef('update__brief').value.trim() const description = getRef('update__brief').value.trim()
const linkText = getRef('update__link').value.trim() const linkText = getRef('update__link').value.trim()
const link = linkText !== '' ? linkText : null const link = linkText !== '' ? linkText : null

View File

@ -208,7 +208,7 @@
status = "Accepted"; status = "Accepted";
else else
status = "Rejected"; status = "Rejected";
// floCloudAPI.noteApplicationData(vectorClock, status).then(_ => null).catch(e => console.error(e)) floCloudAPI.noteApplicationData(vectorClock, status).then(_ => null).catch(e => console.error(e))
return status; return status;
} }

2
scripts/ribc.min.js vendored

File diff suppressed because one or more lines are too long